Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ edit.js
File
edit.js
deps/npm/test/lib/commands/edit.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
t = require(
'tap'
)
2
const
path = require(
'node:path'
)
3
const
tspawk = require(
'../../fixtures/tspawk'
)
4
const
{ load: loadMockNpm } = require(
'../../fixtures/mock-npm'
)
Callers
nothing calls this directly
Calls
15
tspawk
Function · 0.85
same
Method · 0.80
loadMockNpm
Function · 0.70
match
Method · 0.65
get
Method · 0.65
slice
Method · 0.65
require
Function · 0.50
test
Method · 0.45
completion
Method · 0.45
resolve
Method · 0.45
on
Method · 0.45
off
Method · 0.45
Tested by
no test coverage detected