diff --git a/js/tests/index.html b/js/tests/index.html
index 4e3d487db9a6af5cd318fdc66ed7348ad853a88d..2983a0042b8e7b4f33394441e86580550b657df3 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>