(index: boolean)
| 1720 | }); |
| 1721 | /** What a fresh index of the same files says. */ |
| 1722 | const fresh = async (index: boolean): Promise<{ bindings: string[]; navigations: string[] }> => { |
| 1723 | const project = await indexProject(files(index)); |
| 1724 | try { |
| 1725 | return { bindings: routeBindings(project.cg), navigations: navigations(project.cg) }; |
| 1726 | } finally { |
| 1727 | project.cg.close(); |
| 1728 | fs.rmSync(project.root, { recursive: true, force: true }); |
| 1729 | } |
| 1730 | }; |
| 1731 | beforeAll(async () => { |
| 1732 | ({ root, cg } = await indexProject(files(false))); |
| 1733 | }); |
no test coverage detected