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