LoginSignup
5
2

More than 3 years have passed since last update.

jestでCould not find source fileが発生したときの対処法

Posted at

原因

テストファイル名を変更したことで、キャッシュの内容と相違が生じるため

対処法

キャッシュを削除すれば大丈夫

$ jest --clearCache

最後に

ts-jestのバージョン25.3.2で修正が入るみたい。

参考文献

5
2
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
5
2