node-coveralls icon indicating copy to clipboard operation
node-coveralls copied to clipboard

Ignoring .js files

Open rubenafo opened this issue 9 years ago • 2 comments

I have some automatically-generated source files which I'm not covering with the tests so I'd like to coveralls skip those. How can I do that using coveralls for NodeJs?

Thanks!

rubenafo avatar Jan 21 '16 14:01 rubenafo

Yeah likewise, I'd like to actively ignore some files that aren't expected to be tested within my repo. I wonder if theres there possibility of a comment line at the top of the file (a bit like eslint's /* eslint-disable */) or the possibly a dotfile approach.

Will have a little look through the code at some point and see how easy a PR might be but any guidance from the project maintainer would be excellent.

leggsimon avatar Mar 29 '17 15:03 leggsimon

:man_facepalming: I've just realised that my issue is not with node-coveralls I'm using nyc and the fix therein lies. Apologies, this can probably be closed now.

leggsimon avatar Mar 29 '17 23:03 leggsimon