From 37744f9573e95762c7f9fc774ca1d6a13306411a Mon Sep 17 00:00:00 2001 From: laggingreflex Date: Thu, 2 Aug 2018 18:16:15 +0530 Subject: [PATCH] fix: make tests run on Windows --- test/integration.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') ], {