Skip to content

Commit d1987c0

Browse files
committedNov 27, 2023
[Tests] ensure the import tests spawn properly
1 parent 19af506 commit d1987c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/import.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var assign = require('object.assign');
99
function tape(args, options) {
1010
var bin = __dirname + '/../bin/tape';
1111

12-
return spawn('node', [bin].concat(args.split(' ')), assign({ cwd: __dirname }, options));
12+
return spawn(process.argv[0], [bin].concat(args.split(' ')), assign({ cwd: __dirname }, options));
1313
}
1414

1515
tap.test('importing mjs files', function (t) {

0 commit comments

Comments
 (0)
Please sign in to comment.