Merge pull request #674 from danvk/module
[dygraphs.git] / auto_tests / tests / no_hours.js
index 323c84e..bcfc1fe 100644 (file)
@@ -5,14 +5,13 @@
  *
  * @author danvk@google.com (Dan Vanderkam)
  */
-describe("no-hours", function() {
 
-beforeEach(function() {
-  document.body.innerHTML = "<div id='graph'></div>";
-});
+import Dygraph from '../../src/dygraph';
+import Util from './Util';
 
-afterEach(function() {
-});
+describe("no-hours", function() {
+
+cleanupAfterEach();
 
 it('testNoHours', function() {
   var opts = {