通过使用Firebase仿真器创建React应用程序为我的应用程序cerate运行带有GitHub操作的单元测试时,我得到一个错误 Jest did not exit one second afterConsider running Jest with `--detectOpenHandles` to troubleshoot this issue.
我想要进行e2e(集成)测试,出于这个原因,我希望在内存数据库中使用我以这种方式配置的测试: type: 'sqlite', synchronize在运行测试时,我得到
AlreadyHasActiveConnectionError: Cannot create a new connection named "default", because connectionUnhandledPromiseRejectionWarning
我想使用node-mocks- Next.js测试Jest的Jest API函数。_getStatusCode()).toBe(200) } catch(err){ }
}) 在没有await getFoods然而,对于这个调用,我得到了一个错误:Jest did not exit one second after the test run has completed.