MCPcopy Create free account
hub / github.com/npm/cli / diff.js

File diff.js

test/lib/commands/diff.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const t = require('tap')
2const { join, extname } = require('node:path')
3const MockRegistry = require('@npmcli/mock-registry')
4const { load: loadMockNpm } = require('../../fixtures/mock-npm')

Callers

nothing calls this directly

Calls 7

assertFooFunction · 0.85
rejectDiffFunction · 0.85
mockDiffFunction · 0.85
mockOptionsFunction · 0.85
getPackageMethod · 0.80
mockWorkspacesFunction · 0.70
execMethod · 0.45

Tested by

no test coverage detected