Merge pull request #674 from danvk/module
[dygraphs.git] / auto_tests / tests / formats.js
index a0b779b..f16cc6d 100644 (file)
@@ -3,14 +3,12 @@
  *
  * @author konigsberg@google.com (Robert Konigsberg)
  */
-describe("formats", function() {
 
-beforeEach(function() {
-  document.body.innerHTML = "<div id='graph'></div>";
-});
+import Dygraph from '../../src/dygraph';
 
-afterEach(function() {
-});
+describe("formats", function() {
+
+cleanupAfterEach();
 
 var dataString =
   "X,Y\n" +