From 6aa1785a6b715eb884c46f8bd48ade5d885e9c4e Mon Sep 17 00:00:00 2001 From: meetesh06 Date: Fri, 30 Aug 2024 14:49:38 +0000 Subject: [PATCH] Arguments supplied to the spawned processes may miss appropriate flags when options are not specified on some agents. (--module flag is missed when using d8 agent and test262-stream test record) --- lib/run-tests/worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/run-tests/worker.js b/lib/run-tests/worker.js index fe1ed1c..b92698c 100644 --- a/lib/run-tests/worker.js +++ b/lib/run-tests/worker.js @@ -39,7 +39,7 @@ exports.runTest = async function (test) { attrs, contents, file: path.join(testRoot, file), - }), + }, { module: isModule ? isModule : undefined }), timeout(file), ]); } catch (error) {