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

6 lines
182 B
JavaScript

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