Jest continues to run after testing is completed #610
-
Issue DescriptionI am implementing some tests with Jest that use a testcontainer. The management with the testcontainer is working fine (setup and teardown) and every test is passing, but for some reason Jest is not terminating the run when tests are done. It prints a message saying Jest did not exit one second after the test run has completed. Using the combination of I wonder if there is some way to avoid this without using those Jest parameters. I am attaching a local execution screenshot. Configuration
Screenshot |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @edustrivelabs, I suspect you are not stopping a resource (container/network) before your test suite ends. Without logs or reproducible code I cannot help much more. I assume this is a usage issue as this issue is not seen in this project's pipelines. |
Beta Was this translation helpful? Give feedback.
Thanks for the reply @cristianrgreco! I need to apologize. We found the reason of our bug. It is related to a dependency that we are using which is called pinojs.