Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ run-script.js
File
run-script.js
workspaces/libnpmexec/test/run-script.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
t = require(
'tap'
)
2
3
const
mockRunScript =
async
(t, mocks, { level = 0 } = {}) => {
4
const
mockedRunScript = t.mock(
'../lib/run-script.js'
, mocks)
Callers
nothing calls this directly
Calls
2
runScript
Function · 0.85
mockRunScript
Function · 0.70
Tested by
no test coverage detected