From: XhmikosR Date: Sun, 1 Nov 2020 13:52:24 +0000 (+0200) Subject: karma: stop excluding polyfill.js from istanbul (#30740) X-Git-Tag: v5.0.0-alpha3~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59692ce8621f91f5b495221d24cc471e7a83abf4;p=thirdparty%2Fbootstrap.git karma: stop excluding polyfill.js from istanbul (#30740) --- diff --git a/js/src/dom/polyfill.js b/js/src/dom/polyfill.js index 61e75eccd0..ed982587b6 100644 --- a/js/src/dom/polyfill.js +++ b/js/src/dom/polyfill.js @@ -1,5 +1,3 @@ -/* istanbul ignore file */ - /** * -------------------------------------------------------------------------- * Bootstrap (v5.0.0-alpha2): dom/polyfill.js diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js index e87ee1cc71..688868b189 100644 --- a/js/tests/karma.conf.js +++ b/js/tests/karma.conf.js @@ -134,17 +134,17 @@ if (browserStack) { emitWarning: false, global: { statements: 90, - branches: 90, + branches: 89, functions: 90, lines: 90 }, each: { overrides: { 'js/src/dom/polyfill.js': { - statements: 39, - lines: 37, - branches: 19, - functions: 50 + statements: 30, + lines: 30, + branches: 8, + functions: 30 } } }