MCPcopy Create free account
hub / github.com/nodejs/node / fn

Function fn

test/fixtures/test-runner/mock-nm.js:8–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6test('mock node_modules dependency', async (t) => {
7 const mock = t.mock.module(fixture, {
8 namedExports: { fn() { return 42; } },
9 });
10 let cjsImpl = require(fixture);
11 let esmImpl = await import(fixture);

Callers 2

withAllocationsFunction · 0.50
test.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected