]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
coverage: ignore node_modules
authorXhmikosR <xhmikosr@gmail.com>
Sat, 9 May 2020 19:28:09 +0000 (22:28 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 12 May 2020 05:31:38 +0000 (08:31 +0300)
js/tests/karma.conf.js

index 1ab0629a4e47f7e831f81ba8a6387871e2f907bb..6e1effc3a3bb8cb06a3b2bd8b1b73da3654df996 100644 (file)
@@ -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