MCPcopy Index your code
hub / github.com/nodejs/node / spawnSyncAndAssert

Function spawnSyncAndAssert

test/common/child_process.js:153–160  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

151}
152
153function spawnSyncAndAssert(...args) {
154 const expectations = args.pop();
155 return expectSyncExit(spawnSyncAndAssert, [...args], {
156 status: 0,
157 signal: null,
158 ...expectations,
159 });
160}
161
162module.exports = {
163 cleanupStaleProcess,

Calls 2

expectSyncExitFunction · 0.85
popMethod · 0.80

Tested by 1

testFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…