[Jest] SyntaxError: Cannot use import statement outside a module 이슈 해결
분명히 며칠 전까진 잘 돌던 jest 테스트 케이스가 아래와 같은 메시지를 뱉으며 실패했다. ● Test suite failed to run Jest encountered an unexpected token This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript. By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules". Here's what you can do: • If you are trying ..
Dev./Node.js
2024. 5. 13. 14:56
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- hashicorp
- JPA
- etc
- eureka
- IntelliJ
- mysql
- spring boot
- kotlin
- postgresql
- Gradle
- 코딩테스트
- Docker
- JEST
- AWS
- Java
- dev
- AWS IoT
- Git
- terraform
- pgloader
- Vault
- javascript
- Database
- shell
- Linux
- jQuery
- react
- Node.js
- Puppeteer
- Spring Cloud Config
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함