You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I write a boilerplate NodeJS app, and use supertest+jest as tester. After writing some tests, I starter having the issue below by command run npm run test:
SyntaxError: Unexpected identifier
at ESMLoader.moduleStrategy (node:internal/modules/esm/translators:119:18)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:468:14)
at async link (node:internal/modules/esm/module_job:67:21)
It does not give me any hint where the problem is in my code. Do you understand it?
The text was updated successfully, but these errors were encountered:
I write a boilerplate NodeJS app, and use
supertest+jest
as tester. After writing some tests, I starter having the issue below by command runnpm run test
:It does not give me any hint where the problem is in my code. Do you understand it?
The text was updated successfully, but these errors were encountered: