babel-plugin-__coverage__ icon indicating copy to clipboard operation
babel-plugin-__coverage__ copied to clipboard

Local node_modules excluded in test-exclude

Open localnerve opened this issue 9 years ago • 0 comments

First, this is awesome as-is - thanks for making this.

I'm writing this to get guidance on how to work around an issue I'm having with local node_modules as a result of the dependency on test-exclude. In versions prior to 11.0.0, this was not an issue because of the include "/" hack.

I used to enjoy coverage/instrumentation of my project local node_modules. However, with 11.0.0, it appears that they'll always get excluded with test-exclude.

However, there maybe a way of defining an include to circumvent, but that seems out of reach because of this package's "only"/"ignore".

Tried a few runs with nyc's "include" option to no avail.

Any suggestions or advice appreciated.

localnerve avatar Jun 16 '16 18:06 localnerve