Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ error-message.js
File
error-message.js
test/lib/utils/error-message.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
t = require(
'tap'
)
2
const
{ resolve } = require(
'node:path'
)
3
const
fs = require(
'node:fs/promises'
)
4
const
{ load: _loadMockNpm } = require(
'../../fixtures/mock-npm.js'
)
Callers
nothing calls this directly
Calls
8
cleanDate
Function · 0.85
cleanCwd
Function · 0.85
errorMessage
Function · 0.85
resolve
Function · 0.85
end
Method · 0.80
push
Method · 0.80
loadMockNpm
Function · 0.70
runTest
Function · 0.70
Tested by
no test coverage detected