(p: unknown)
| 72 | } |
| 73 | |
| 74 | function writeProfile(p: unknown): void { |
| 75 | const pp = profilePath(); |
| 76 | fs.mkdirSync(path.dirname(pp), { recursive: true }); |
| 77 | fs.writeFileSync(pp, JSON.stringify(p, null, 2)); |
| 78 | } |
| 79 | |
| 80 | describe('taste-engine: first-write lifecycle', () => { |
| 81 | test('approved creates profile with correct v1 schema', () => { |
no test coverage detected