Rewrite tests to use ES6 modules.
[dygraphs.git] / auto_tests / tests / multi_csv.js
index c6b8d4f..99008e2 100644 (file)
@@ -3,14 +3,12 @@
  *
  * @author dan@dygraphs.com (Dan Vanderkam)
  */
-describe("multi-csv", function() {
 
-beforeEach(function() {
-  document.body.innerHTML = "<div id='graph'></div>";
-});
+import Dygraph from '../../src/dygraph';
 
-afterEach(function() {
-});
+describe("multi-csv", function() {
+
+cleanupAfterEach();
 
 function getXLabels() {
   var x_labels = document.getElementsByClassName("dygraph-axis-label-x");