(content: string)
| 38 | let exePath: string; |
| 39 | |
| 40 | const createTestScript = async (content: string): Promise<string> => { |
| 41 | const scriptPath = join(tmpDir, "exe_test.js"); |
| 42 | await writeFile(scriptPath, content, "utf8"); |
| 43 | return scriptPath; |
| 44 | }; |
| 45 | |
| 46 | beforeEach(async () => { |
| 47 | tmpDir = await mkdtemp(join(tmpdir(), "llrt-test-compile")); |
no test coverage detected