istanbul.yml not being picked up by istanbul

蹲街弑〆低调 提交于 2019-12-13 03:39:42

问题


I'm using istanbul.js and it says I can create a istanbul.yml to configure it, but it's not being picked up automatically. Do I need to configure somewhere that I have created it?

Running istanbul like:

istanbul cover --report cobertura _mocha test/

works ok.

Thanks! Guillermo.


回答1:


Make sure you're putting it in the root of the project folder, and that it starts with a "."

The correct filename is .istanbul.yml.



来源:https://stackoverflow.com/questions/25537622/istanbul-yml-not-being-picked-up-by-istanbul

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!