(p: string, c: string)
| 45 | console.log('— fs round-trip —'); |
| 46 | const tmp = await fs.mkdtemp(path.join(os.tmpdir(), 'qodex-artifacts-')); |
| 47 | const write = async (p: string, c: string) => { await fs.mkdir(path.dirname(p), { recursive: true }); await fs.writeFile(p, c); }; |
| 48 | |
| 49 | const { manifest: m1 } = await createArtifact(tmp, { title: 'Landing Page', type: 'html', content: '<h1>v1</h1>' }, write); |
| 50 | check('create returns id', m1.id === 'landing-page'); |
no outgoing calls
no test coverage detected