(files: string[] = STABLE_OUTPUTS)
| 62 | } |
| 63 | |
| 64 | function snapshot(files: string[] = STABLE_OUTPUTS): Map<string, string> { |
| 65 | const m = new Map<string, string>(); |
| 66 | for (const rel of files) { |
| 67 | const full = path.join(REPO_ROOT, rel); |
| 68 | if (fs.existsSync(full)) { |
| 69 | m.set(rel, fs.readFileSync(full, 'utf-8')); |
| 70 | } |
| 71 | } |
| 72 | return m; |
| 73 | } |
| 74 | |
| 75 | describe('gen-skill-docs idempotency', () => { |
| 76 | test('two consecutive runs produce byte-identical outputs (no flapping fields)', () => { |
no test coverage detected