MCPcopy Create free account
hub / github.com/sindresorhus/execa / spawnNestedExecaNode

Function spawnNestedExecaNode

test/methods/node.js:200–204  ·  view source on GitHub ↗
(realExecArgv, fakeExecArgv, execaMethod, nodeOptions)

Source from the content-addressed store, hash-verified

198test('The "nodeOptions" option can be used - "node" option sync', testNodeOptions, runWithNodeOptionSync);
199
200const spawnNestedExecaNode = (realExecArgv, fakeExecArgv, execaMethod, nodeOptions) => execa(
201 'node',
202 [...realExecArgv, 'nested-node.js', fakeExecArgv, execaMethod, nodeOptions, 'noop.js', foobarString],
203 {...fullStdio, cwd: FIXTURES_DIRECTORY},
204);
205
206const testInspectRemoval = async (t, fakeExecArgv, execaMethod) => {
207 const {stdout, stdio} = await spawnNestedExecaNode([], fakeExecArgv, execaMethod, '');

Callers 3

testInspectRemovalFunction · 0.85
testInspectDifferentPortFunction · 0.85
testInspectSamePortFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected