From fbdacc0e92d380af79f5a13fa5f19536beb31191 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 9 May 2020 22:28:09 +0300 Subject: [PATCH] coverage: ignore node_modules --- js/tests/karma.conf.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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