aboutsummaryrefslogtreecommitdiff
path: root/js/tests/index.html
diff options
context:
space:
mode:
authorKevin Kirsche <[email protected]>2015-03-01 09:33:48 -0500
committerKevin Kirsche <[email protected]>2015-03-03 08:45:07 -0500
commit4febcb4b492c322c71bdef579cc4ad99ea86e150 (patch)
tree03eed0d888df8e56e40616f1fa3e1ada3928a7d8 /js/tests/index.html
parent4311e09b04763bd4efd20212dbee8c6c95df56dc (diff)
downloadbootstrap-4febcb4b492c322c71bdef579cc4ad99ea86e150.tar.xz
bootstrap-4febcb4b492c322c71bdef579cc4ad99ea86e150.zip
[Fixes #15953] Implement assert.expect in each unit test
[Fixes #15953] Implement `assert.expect` in each unit test
Diffstat (limited to 'js/tests/index.html')
-rw-r--r--js/tests/index.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tests/index.html b/js/tests/index.html
index 66ab2635a..77a97cc1f 100644
--- a/js/tests/index.html
+++ b/js/tests/index.html
@@ -14,6 +14,8 @@
<script>
// See https://github.com/axemclion/grunt-saucelabs#test-result-details-with-qunit
var log = []
+ // Require assert.expect in each test.
+ QUnit.config.requireExpects = true
QUnit.done(function (testResults) {
var tests = []
for (var i = 0, len = log.length; i < len; i++) {