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

Function isWasm

packages/jest-runtime/src/internals/Resolution.ts:12–13  ·  view source on GitHub ↗
(modulePath: string)

Source from the content-addressed store, hash-verified

10import Resolver from 'jest-resolve';
11
12export const isWasm = (modulePath: string): boolean =>
13 modulePath.endsWith('.wasm');
14
15export class Resolution {
16 private readonly resolver: Resolver;

Callers 4

tryLoadGraphSyncMethod · 0.90
loadEsmModuleMethod · 0.90
shouldLoadAsEsmMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected