(realExecArgv, fakeExecArgv, execaMethod, nodeOptions)
| 198 | test('The "nodeOptions" option can be used - "node" option sync', testNodeOptions, runWithNodeOptionSync); |
| 199 | |
| 200 | const 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 | |
| 206 | const testInspectRemoval = async (t, fakeExecArgv, execaMethod) => { |
| 207 | const {stdout, stdio} = await spawnNestedExecaNode([], fakeExecArgv, execaMethod, ''); |
no outgoing calls
no test coverage detected