MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / testExecOutput

Function testExecOutput

test/exec-tests.ts:33–39  ·  view source on GitHub ↗
(execPromise: Promise<Partial<UnprocessedExecResult>>)

Source from the content-addressed store, hash-verified

31import {UnprocessedExecResult} from '../types/execution/execution.interfaces.js';
32
33async function testExecOutput(execPromise: Promise<Partial<UnprocessedExecResult>>) {
34 const x = await execPromise;
35 expect(x.filenameTransform).toBeInstanceOf(Function);
36 delete x.filenameTransform;
37 delete x.execTime;
38 return x;
39}
40
41describe('Execution tests', async () => {
42 if (process.platform === 'win32') {

Callers 1

exec-tests.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected