diff --git a/test/integration.js b/test/integration.js index e543c0e3..5d15429a 100644 --- a/test/integration.js +++ b/test/integration.js @@ -7,7 +7,8 @@ require('chai').should() describe('c8', () => { it('reports coverage for script that exits normally', () => { - const {output} = spawnSync(c8Path, [ + const {output} = spawnSync(process.execPath, [ + c8Path, process.execPath, require.resolve('./fixtures/normal') ], {