Index: Tools/GardeningServer/test/run-unit-tests.html |
diff --git a/Tools/GardeningServer/test/run-unit-tests.html b/Tools/GardeningServer/test/run-unit-tests.html |
index 3a63aebc81cccaab80d9d132b4b1c11bd92ecfcd..38a1075c4615d38dc64bb765e63a01a12ad83c82 100644 |
--- a/Tools/GardeningServer/test/run-unit-tests.html |
+++ b/Tools/GardeningServer/test/run-unit-tests.html |
@@ -9,7 +9,7 @@ found in the LICENSE file. |
<link rel="stylesheet" href="../node_modules/mocha/mocha.css"> |
<title>Sheriff-O-Matic Unit Tests</title> |
-<script src="../scripts/ui.js"></script> |
+<script src="../scripts/results.js"></script> |
<script src="../bower_components/chai/chai.js"></script> |
<script src="../node_modules/mocha/mocha.js"></script> |
<script src="../bower_components/sugar/release/sugar-full.development.js"></script> |
@@ -19,6 +19,7 @@ found in the LICENSE file. |
<script> |
mocha.checkLeaks(); |
+mocha.globals(['net']); |
mocha.setup('bdd'); |
</script> |
@@ -27,5 +28,5 @@ mocha.setup('bdd'); |
<div id="mocha"></div> |
<script> |
-mocha.run(); |
+Polymer.whenReady(mocha.run); |
</script> |