MCPcopy Create free account
hub / github.com/nodejs/node / coverage-with-mock.mjs

File coverage-with-mock.mjs

test/fixtures/test-runner/output/coverage-with-mock.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, mock } from 'node:test';
2
3describe('module test with mock', async () => {
4 mock.module('../coverage-with-mock/sum.js', {

Callers

nothing calls this directly

Calls 4

theModuleSumFunction · 0.85
theModuleGetDataFunction · 0.85
itFunction · 0.50
moduleMethod · 0.45

Tested by

no test coverage detected