forwardemail / forwardemail/supertest
supertest use case with error "SyntaxError: Unexpected identifier"
Open
- Dominant language
- JavaScript
- Stars
- 14.4k
- Forks
- 782
- PR merge metrics
- No merged PRs in 30d
Description
I write a [boilerplate NodeJS app](https://github.com/web-needle/sappio), 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?
Contributor guide
Assessment
This issue has not been assessed yet.