Fixed attribute name typo in legend follow (#792)
[dygraphs.git] / auto_tests / runner.html
index 7102a95..2f48d5b 100644 (file)
@@ -3,6 +3,7 @@
   <meta charset="utf-8">
   <title>dygraphs tests</title>
   <link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
+  <link rel="stylesheet" href="../css/dygraph.css" />
 </head>
 <body>
   <div id="graph"></div>
 
   <script>
     mocha.checkLeaks();
-    mocha.run();
+    if (window.mochaPhantomJS) {
+      mochaPhantomJS.run();
+    } else {
+      mocha.run();
+    }
   </script>
 </body>
 </html>