testing · git:20260804.bdfca66 · 2026-08-04 · sha256 21d6c3998c53b8eb
testing git:20260804.bdfca66A
Immutable. This exact content never changes and is served at /api/v1/blob/21d6c3998c53b8eb.
--- # promptscript-generated: 2026-08-04T15:31:20.020Z | source: .promptscript/project.prs | target: github applyTo: - '**/*.spec.ts' - '**/__tests__/**' --- # Testing-specific rules - Test files: `*.spec.ts` next to source - Follow AAA (Arrange, Act, Assert) pattern - Framework: Vitest - Target >90% coverage for libraries - Use fixtures for parser tests - When refactoring formatter section methods (e.g. splitting context() into project() + techStack() + architecture()), add a test verifying that ALL input block content still appears in the output — not just the newly extracted subsections - Golden files are snapshots of correct behavior, not correct by definition — before regenerating golden files, verify the diff represents an intentional change, not a regression that golden files would lock in