我使用jest为我的应用程序运行集成测试。它似乎工作得很好,但当我再次运行它时,我总是得到一个错误。 以下是该错误的缩写版本...Jest has detected the following 1 open handle potentially keeping Jest from exiting:
ReferenceError: You are t
我在nestJs微服务中进行了一些e2E测试(使用Redis作为传输工具)。一切都进行得很顺利,除了这个过程永远不会结束。Ran all test suites.Jest did not exit one second after the test run has completed.Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.