aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-01-14 19:57:01 -0800
committerChris Rebert <[email protected]>2014-01-14 20:21:15 -0800
commitb260d93c58be66d8f337e869721a37df159e927f (patch)
tree5144cc66b87a94c43cda90cc3b5d579dc5fa270f
parent2a6b6f8537f3174c0a6b0baad3ef3346db12412b (diff)
downloadbootstrap-b260d93c58be66d8f337e869721a37df159e927f.tar.xz
bootstrap-b260d93c58be66d8f337e869721a37df159e927f.zip
more detailed QUnit test results in Sauce
-rw-r--r--js/tests/index.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/tests/index.html b/js/tests/index.html
index 4e3d487db..2983a0042 100644
--- a/js/tests/index.html
+++ b/js/tests/index.html
@@ -4,12 +4,17 @@
<title>Bootstrap Plugin Test Suite</title>
<!-- jquery -->
- <!--<script src="http://code.jquery.com/jquery-1.7.min.js"></script>-->
<script src="vendor/jquery.js"></script>
<!-- qunit -->
<link rel="stylesheet" href="vendor/qunit.css" media="screen">
<script src="vendor/qunit.js"></script>
+ <script>
+ // See https://github.com/axemclion/grunt-saucelabs#test-result-details-with-qunit
+ QUnit.done(function(results) {
+ window.global_test_results = results
+ })
+ </script>
<!-- plugin sources -->
<script src="../../js/transition.js"></script>