Create a file whose name ends in .mjs and matches one of the fileglobs in jasmine.json.
Run Jasmine.
Expected: The error is reported in a way that lets the user know what file has the syntax error.
Observed: The filename is not reported. E.g. for a syntax error in aSpec.mjs:
SyntaxError: missing ) after argument list
at Loader.moduleStrategy (internal/modules/esm/translators.js:117:18)
at async link (internal/modules/esm/module_job.js:42:21)
(Use `node --trace-warnings ...` to show where the warning was created)
Steps to reproduce:
.mjs
and matches one of the fileglobs injasmine.json
.Expected: The error is reported in a way that lets the user know what file has the syntax error. Observed: The filename is not reported. E.g. for a syntax error in
aSpec.mjs
: