我在使用mocha和babel编译器运行istanbul时遇到了一些问题.
我的所有测试都运行得很好,但在完成所有测试后,它会向我显示以下消息:
No coverage information was collected, exit without writing coverage information
而且它没有制作任何报道报道..
我正在运行的命令是:
NODE_ENV=test istanbul cover _mocha -- --require babel-core/register --recursive
该项目托管在github:https: //github.com/weslleyaraujo/react-flux-puzzle/tree/feat/unit-tests-24
任何想法可能是什么?