Skip to content
Prev Previous commit
Next Next commit
revert old change
  • Loading branch information
mertcanaltin committed Jun 3, 2025
commit d756f7f722446d68f95d32e7980e37b9ee156498
2 changes: 1 addition & 1 deletion test/parallel/test-worker-eval-typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ test('Worker eval commonjs typescript with --input-type=module-typescript', asyn
disableTypeScriptWarningFlag] });
const [err] = await once(w, 'error');
assert.strictEqual(err.name, 'ReferenceError');
assert.match(err.message, /ERR_AMBIGUOUS_MODULE_SYNTAX|require is not defined in ES module scope/);
assert.match(err.message, /require is not defined in ES module scope, you can use import instead/);
});