node/test/fixtures/v8-coverage/spawn-subprocess.js

7 lines
188 B
JavaScript

const { spawnSync } = require('child_process');
const env = { ...process.env };
delete env.NODE_V8_COVERAGE
spawnSync(process.execPath, [require.resolve('./subprocess')], {
env: env
});