How to run Jest tests sequentially?

前端 未结 5 907
抹茶落季
抹茶落季 2020-12-12 15:42

I\'m running Jest tests via npm test. Jest runs tests in parallel by default. Is there any way to make the tests run sequentially?

I have some tests cal

5条回答
  •  粉色の甜心
    2020-12-12 16:39

    CLI options are documented and also accessible by running the command jest --help.

    You'll see the option you are looking for : --runInBand.

提交回复
热议问题