How to cover React jsx files in Istanbul?

后端 未结 4 1541
渐次进展
渐次进展 2021-02-13 03:14

I\'m trying to integrate my existing test processes to now include React, but am struggling on the code coverage part. I\'ve been able to get my unit tests working fine by foll

4条回答
  •  你的背包
    2021-02-13 03:40

    There is a library you can take a look at, gulp-jsx-coverage (https://github.com/zordius/gulp-jsx-coverage).

提交回复
热议问题