MCPcopy
hub / github.com/jestjs/jest / testWithVmEsm

Function testWithVmEsm

packages/test-utils/src/ConditionalTest.ts:34–39  ·  view source on GitHub ↗
(
  ...args: Parameters<typeof test>
)

Source from the content-addressed store, hash-verified

32}
33
34export function testWithVmEsm(
35 ...args: Parameters<typeof test>
36): ReturnType<typeof test> {
37 const fn = typeof SyntheticModule === 'function' ? test : test.skip;
38 return fn(...args);
39}
40
41export function testWithSyncEsm(
42 ...args: Parameters<typeof test>

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected