MCPcopy Create free account
hub / github.com/npm/cli / loadResolver

Function loadResolver

test/lib/utils/resolve-allow-scripts.js:5–5  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

3const tmock = require('../../fixtures/tmock')
4
5const loadResolver = (t) => tmock(t, '{LIB}/utils/resolve-allow-scripts.js')
6
7// Helper that simulates config layering. `cliConfig` sets the value at
8// the 'cli' source; `npmrcConfig` sets it at the 'user' source. mockNpm

Callers 1

Calls 1

tmockFunction · 0.85

Tested by

no test coverage detected