Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: update syntax error assertion in ESM loader test
  • Loading branch information
miguelmarcondesf committed Sep 19, 2025
commit f9306e7d47370c413f550ecce269207e6156679d
2 changes: 1 addition & 1 deletion test/es-module/test-esm-loader-with-syntax-error.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('ESM: loader with syntax error', { concurrency: !process.env.TEST_PARAL
path('print-error-message.js'),
]);

match(stderr, /SyntaxError \[Error\]:/);
match(stderr, /SyntaxError/);
ok(!stderr.includes('Bad command or file name'));
notStrictEqual(code, 0);
});
Expand Down