Jest leave open ports when last test are done. #14784
Unanswered
fabrizzioalco
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Im trying to resolve the issue where the test should run without the "--forceExit" argument.
However when i run the tests, and they're done. Jest don't exit because there're process running even when every test is complete.
I tried to run each one of the integration tests and all of them uses killApp() and stopApp() to close everything.
But when i run yarm testheadless or any command to test everything and are done, there are process still running.
I've seen that uses selenium webdriver and in the teardown i see that the server started at the start, it close mentioned server.
Can anyone help me understand what is going on?
I've tried debugging and see that killApp along with tree-kill are not doing the job, however running it in the normal way killApp workds
Beta Was this translation helpful? Give feedback.
All reactions