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

Method unstable_shouldLoadAsEsm

packages/jest-runtime/src/index.ts:361–363  ·  view source on GitHub ↗
(modulePath: string)

Source from the content-addressed store, hash-verified

359
360 // unstable as it should be replaced by https://github.com/nodejs/modules/issues/393, and we don't want people to use it
361 unstable_shouldLoadAsEsm(modulePath: string): boolean {
362 return this._resolution.shouldLoadAsEsm(modulePath);
363 }
364
365 async unstable_importModule(
366 from: string,

Callers 6

constructorMethod · 0.95
runTestInternalFunction · 0.95
jestAdapterFunction · 0.80
createRuntime.jsFile · 0.80
shouldLoadAsEsmMethod · 0.80
jasmine2Function · 0.80

Calls 1

shouldLoadAsEsmMethod · 0.80

Tested by

no test coverage detected