(fixture: string)
| 3 | import { createFileSystem } from './filesystem'; |
| 4 | |
| 5 | async function serveFixture(fixture: string) { |
| 6 | return new Response(await Bun.file(new URL(`./fixtures/${fixture}`, import.meta.url)).bytes(), { |
| 7 | headers: { 'Content-Type': 'application/yaml' }, |
| 8 | }); |
| 9 | } |
| 10 | |
| 11 | describe('#createFileSystem', () => { |
| 12 | let server: Server; |