From: XhmikosR Date: Sat, 9 May 2020 19:28:09 +0000 (+0300) Subject: coverage: ignore node_modules X-Git-Tag: v5.0.0-alpha1~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbdacc0e92d380af79f5a13fa5f19536beb31191;p=thirdparty%2Fbootstrap.git coverage: ignore node_modules --- diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js index 1ab0629a4e..6e1effc3a3 100644 --- a/js/tests/karma.conf.js +++ b/js/tests/karma.conf.js @@ -68,7 +68,11 @@ const conf = { rollupPreprocessor: { plugins: [ istanbul({ - exclude: ['js/tests/unit/**/*.spec.js', 'js/tests/helpers/**/*.js'] + exclude: [ + 'node_modules/**', + 'js/tests/unit/**/*.spec.js', + 'js/tests/helpers/**/*.js' + ] }), babel({ // Only transpile our source code