Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ install-scripts.js
File
install-scripts.js
workspaces/arborist/test/install-scripts.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
t = require(
'tap'
)
2
3
const
mockGetInstallScripts = (t, isNodeGypResult = () => false) =>
4
t.mock(
'../lib/install-scripts.js'
, {
Callers
nothing calls this directly
Calls
3
mockGetInstallScripts
Function · 0.85
getInstallScripts
Function · 0.85
node
Function · 0.70
Tested by
no test coverage detected