Fixed attribute name typo in legend follow (#792)
[dygraphs.git] / auto_tests / runner.html
index 1768c1f..2f48d5b 100644 (file)
@@ -3,18 +3,25 @@
   <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>
   <div id="mocha"></div>
 
   <!-- Polyfills for PhantomJS -->
-  <script src="../node_modules/babel/node_modules/babel-core/browser-polyfill.js"></script>
+  <script src="../node_modules/babel-core/browser-polyfill.js"></script>
 
   <!-- Mocha -->
   <script src="../node_modules/mocha/mocha.js"></script>
   <script src="../node_modules/chai/chai.js"></script>
   <script>
+  if (window.initMochaPhantomJS) {
+    window.initMochaPhantomJS();
+  }
+  </script>
+
+  <script>
   var expect = chai.expect;
   var assert = chai.assert;
   function cleanupAfterEach() {