(rel: string, text: string)
| 108 | it('fills the page past routes it drops after reading them, like a test file\'s', async () => { |
| 109 | const testsFirst = path.join(root, 'tests-first'); |
| 110 | const put = (rel: string, text: string) => { |
| 111 | fs.mkdirSync(path.dirname(path.join(testsFirst, rel)), { recursive: true }); |
| 112 | fs.writeFileSync(path.join(testsFirst, rel), text); |
| 113 | }; |
| 114 | put('package.json', JSON.stringify({ dependencies: { express: '^4.0.0' } })); |
| 115 | // Sorts before src/, and every handler is test code, so these rows are |
| 116 | // dropped only once they are read: they must not use up the window. |
no test coverage detected