(rel: string, content: string)
| 36 | beforeAll(async () => { |
| 37 | root = fs.realpathSync(fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-affected-tier-'))); |
| 38 | const write = (rel: string, content: string) => { |
| 39 | fs.mkdirSync(path.dirname(path.join(root, rel)), { recursive: true }); |
| 40 | fs.writeFileSync(path.join(root, rel), content); |
| 41 | }; |
| 42 | write('package.json', JSON.stringify({ name: 'shop', dependencies: { express: '^4.0.0' } })); |
| 43 | // The server: a route and its handler, with a test that calls the handler. |
| 44 | write( |
no test coverage detected