(name: string, content: string)
| 7 | const FIXTURES_DIR = path.join(os.tmpdir(), 'skill-parser-test'); |
| 8 | |
| 9 | function writeFixture(name: string, content: string): string { |
| 10 | fs.mkdirSync(FIXTURES_DIR, { recursive: true }); |
| 11 | const p = path.join(FIXTURES_DIR, name); |
| 12 | fs.writeFileSync(p, content); |
| 13 | return p; |
| 14 | } |
| 15 | |
| 16 | describe('extractBrowseCommands', () => { |
| 17 | test('extracts $B commands from bash code blocks', () => { |