(file: string, text: string)
| 22 | beforeAll(async () => { |
| 23 | root = fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-c-static-rescue-')); |
| 24 | const write = (file: string, text: string): void => { |
| 25 | fs.mkdirSync(path.dirname(path.join(root, file)), { recursive: true }); |
| 26 | fs.writeFileSync(path.join(root, file), text); |
| 27 | }; |
| 28 | // jemalloc: a header's static inline helper, and two tests with a static helper of its name. |
| 29 | write('test/include/test/arena_util.h', lines( |
| 30 | 'static inline unsigned', |
no test coverage detected