Rewrite tests to use ES6 modules.
[dygraphs.git] / auto_tests / tests / dygraph-options-tests.js
index 4311fb5..aa9db33 100644 (file)
@@ -1,18 +1,20 @@
 /** 
  * @fileoverview Test cases for DygraphOptions.
  */
+
+import Dygraph from '../../src/dygraph';
+import DygraphOptions from '../../src/dygraph-options';
+
 describe("dygraph-options-tests", function() {
 
+cleanupAfterEach();
+
 var graph;
 
 beforeEach(function() {
-  document.body.innerHTML = "<div id='graph'></div>";
   graph = document.getElementById("graph");
 });
 
-afterEach(function() {
-});
-
 /*
  * Pathalogical test to ensure getSeriesNames works
  */