From d1987c04375b952dcac1e6639a702ac4d23f7a57 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 27 Nov 2023 15:38:24 -0800 Subject: [PATCH] [Tests] ensure the import tests spawn properly --- test/import.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/import.js b/test/import.js index af519c73..4f8a13ea 100644 --- a/test/import.js +++ b/test/import.js @@ -9,7 +9,7 @@ var assign = require('object.assign'); function tape(args, options) { var bin = __dirname + '/../bin/tape'; - return spawn('node', [bin].concat(args.split(' ')), assign({ cwd: __dirname }, options)); + return spawn(process.argv[0], [bin].concat(args.split(' ')), assign({ cwd: __dirname }, options)); } tap.test('importing mjs files', function (t) {