(file: string, text: string)
| 23 | beforeAll(async () => { |
| 24 | root = fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-cpp-pimpl-')); |
| 25 | const write = (file: string, text: string): void => { |
| 26 | fs.mkdirSync(path.dirname(path.join(root, file)), { recursive: true }); |
| 27 | fs.writeFileSync(path.join(root, file), text); |
| 28 | }; |
| 29 | write('include/table.h', lines( |
| 30 | '#include <memory>', |
| 31 | 'namespace ns {', |
no test coverage detected