Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ ping.js
File
ping.js
deps/npm/test/lib/commands/ping.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
t = require(
'tap'
)
2
const
{ load: loadMockNpm } = require(
'../../fixtures/mock-npm.js'
)
3
const
MockRegistry = require(
'@npmcli/mock-registry'
)
4
const
cacache = require(
'cacache'
)
Callers
nothing calls this directly
Calls
10
loadMockNpm
Function · 0.70
get
Method · 0.65
match
Method · 0.65
parse
Method · 0.65
put
Method · 0.65
require
Function · 0.50
test
Method · 0.45
ping
Method · 0.45
exec
Method · 0.45
join
Method · 0.45
Tested by
no test coverage detected