( filename: string, args: string[] = [] )
| 26 | }; |
| 27 | |
| 28 | const run = async ( |
| 29 | filename: string, |
| 30 | args: string[] = [] |
| 31 | ): Promise<{ code: number; output: string }> => { |
| 32 | const { code, stdout, stderr } = await spawnCapture(filename, args); |
| 33 | return { code, output: stdout + stderr }; |
| 34 | }; |
| 35 | |
| 36 | describe("executable compilation", () => { |
| 37 | let tmpDir: string; |
no test coverage detected