Why is Jest testing my scripts.js file instead of scripts.test.js?

前端 未结 0 880
天涯浪人
天涯浪人 2021-01-01 08:00

I am trying to write tests for my javascript game using Jest for the first time. When I run the tests, Jest is giving me this error:

FAIL ./scripts.test.js ● Test

相关标签:
回答
  • 消灭零回复
提交回复
热议问题