Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ tspawk
Function
tspawk
test/fixtures/tspawk.js:7–16 ·
view source on GitHub ↗
(t)
Source
from the content-addressed store, hash-verified
5
module.exports = tspawk
6
7
function
tspawk (t) {
8
spawk.preventUnmatched()
9
t.teardown(
function
() {
10
spawk.unload()
11
})
12
t.afterEach(
function
() {
13
spawk.done()
14
})
15
return
spawk
16
}
Callers
7
restart.js
File · 0.50
install.js
File · 0.50
start.js
File · 0.50
stop.js
File · 0.50
test.js
File · 0.50
config.js
File · 0.50
edit.js
File · 0.50
Calls
2
teardown
Method · 0.80
unload
Method · 0.80
Tested by
no test coverage detected