'React Native Jest doesnt exit, and show the actual library as the cause of the problem
Im implementing tests framework (jest) in react native with testing-library/react-native, on an existing project. When I run their example (intro) the app give the infamous error:
Jest did not exit one second after the test run has completed.
when I try to check it with the flag --detectOpenHandles, it shows that the library itself is the problem.

I have no config file for jest. RN - 66.4 jest - 28.1.0 babel-jest - 26.6.3 jest-circus - 26.6.3 eslint-plugin-jest - 26.1.1
Solution 1:[1]
Emitting the "message " event from the client side but server did not broadcast the message to the connected client (in the console)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | santosh |
