X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fupdate_options.js;fp=auto_tests%2Ftests%2Fupdate_options.js;h=e5811101cf4d32168c3a389b40a6d4966e753ac0;hb=e8c70e4e0f4c124a2c68eb43d6ec4e781d1bf810;hp=d2465c964d80354ffc3665102573a8cd9525fe97;hpb=6ecc073934b76e5076f917112a24ff7094857730;p=dygraphs.git diff --git a/auto_tests/tests/update_options.js b/auto_tests/tests/update_options.js index d2465c9..e581110 100644 --- a/auto_tests/tests/update_options.js +++ b/auto_tests/tests/update_options.js @@ -4,7 +4,12 @@ * @fileoverview Tests for the updateOptions function. * @author antrob@google.com (Anthony Robledo) */ + +import Dygraph from '../../src/dygraph'; + describe("update-options", function() { + +cleanupAfterEach(); var opts = { width: 480, @@ -18,13 +23,6 @@ var data = "X,Y1,Y2\n" + "2011-04-04,9,5\n" + "2011-05-05,8,3\n"; -beforeEach(function() { - document.body.innerHTML = "
"; -}); - -afterEach(function() { -}); - /* * Tweaks the dygraph so it sets g._testDrawCalled to true when internal method * drawGraph_ is called. Call unWrapDrawGraph when done with this.