goldbergyoni / goldbergyoni/nodejs-testing-best-practices
Close sequalize connection in stopWebServer
Open
bug
- Dominant language
- JavaScript
- Stars
- 4.4k
- Forks
- 288
- PR merge metrics
- No merged PRs in 30d
Description
We get:
```
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?
```
Probably because we don't close the connection to the DB.
It may require using only one instance of sequalize.
Contributor guide
Assessment
This issue has not been assessed yet.