Is there an option to show all test descriptions when I run jest tests?

前端 未结 5 1535
伪装坚强ぢ
伪装坚强ぢ 2021-01-31 01:18

I\'m using jest and enzyme with my create-react-app project. When I run npm test, I get an output that shows the names of the test files that passed but I\'d like t

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-31 01:40

    after doing this configuration in package.json( "test": "react-scripts test --env=jsdom --verbose",) try running your test by npm test.

    Note : with npm run test description is not reflecting for me as well.

提交回复
热议问题