Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-11-01 16:52:24 +0300
committerGitHub <noreply@github.com>2020-11-01 16:52:24 +0300
commit59692ce8621f91f5b495221d24cc471e7a83abf4 (patch)
tree20857f20638837e7468a03f825f37155daa6f655 /js
parent421e2482e2a0a38dd821876957cade8e5e3d579d (diff)
karma: stop excluding polyfill.js from istanbul (#30740)
Diffstat (limited to 'js')
-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 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
}
}
}