codestates / codestates/Subllet

[ERR] Jest did not exit one second after the test run has completed.

Open
#97 0 comments 0 reactions 1 assignee Claimed by @ionc635 View on GitHub
ERR
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### 어떤 에러인가요?
- jest로 test를 한 다음 구동이 끊어지지 않고 에러가 발생했습니다.

### 에러 메시지
```shell
Jest did not exit one second after the test run has completed.

This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.
```

### 에러 핸들링 방법
- test script에 --forceExit를 추가했습니다. 처음에는 에러 메시지에 나온 --detectOpenHandles도 함께 추가했지만 오류가 해결되지 않았습니다.

```js
"jest --forceExit"
```

### 에러 핸들링을 위해 참고한 레퍼런스 링크
https://jamong-icetea.tistory.com/353

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.