From cbea4910cb5dca32724ab34f252650b19709b959 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Sun, 24 Mar 2024 15:13:47 -0700 Subject: [PATCH] run cjs test with node for windows --- test/index.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.test.js b/test/index.test.js index ced5b6a2..0e8b65fb 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -66,7 +66,7 @@ describe('gulp', function() { var cli = path.join(__dirname, '../bin/gulp.js'); var opts = { cwd: path.join(__dirname, 'fixtures/gulpfiles/cjs' ) }; - cp.exec(cli, opts, function (err, stdout, stderr) { + cp.exec('node ' + cli, opts, function (err, stdout, stderr) { expect(err).toBeNull(); expect(stdout).toMatch('gulpfile.cjs'); expect(stderr).toEqual('');