aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-11-01 15:52:24 +0200
committerGitHub <[email protected]>2020-11-01 15:52:24 +0200
commit59692ce8621f91f5b495221d24cc471e7a83abf4 (patch)
tree20857f20638837e7468a03f825f37155daa6f655
parent421e2482e2a0a38dd821876957cade8e5e3d579d (diff)
downloadbootstrap-59692ce8621f91f5b495221d24cc471e7a83abf4.tar.xz
bootstrap-59692ce8621f91f5b495221d24cc471e7a83abf4.zip
karma: stop excluding polyfill.js from istanbul (#30740)
-rw-r--r--js/src/dom/polyfill.js2
-rw-r--r--js/tests/karma.conf.js10
2 files changed, 5 insertions, 7 deletions
diff --git a/js/src/dom/polyfill.js b/js/src/dom/polyfill.js
index 61e75eccd..ed982587b 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 e87ee1cc7..688868b18 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
}
}
}