]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
more detailed QUnit test results in Sauce 12229/head
authorChris Rebert <code@rebertia.com>
Wed, 15 Jan 2014 03:57:01 +0000 (19:57 -0800)
committerChris Rebert <code@rebertia.com>
Wed, 15 Jan 2014 04:21:15 +0000 (20:21 -0800)
js/tests/index.html

index 4e3d487db9a6af5cd318fdc66ed7348ad853a88d..2983a0042b8e7b4f33394441e86580550b657df3 100644 (file)
@@ -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>