LoginSignup
0
0

More than 1 year has passed since last update.

supertest error

Posted at

Jest did not exit one second after the test run has completed.

This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with --detectOpenHandles to troubleshoot this issue.

このようなエラーがでた。

原因はポートが開きっぱなしになってしまうこと。

app.jsを分割。testを非同期にすることで解決

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0