X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fupdate_while_panning.js;fp=auto_tests%2Ftests%2Fupdate_while_panning.js;h=c810f1a29f330ffaf1fb8028175e2e35f5b35b85;hb=e8c70e4e0f4c124a2c68eb43d6ec4e781d1bf810;hp=ac01900599915a5ae8afecd03b12b56f3c0075f7;hpb=6ecc073934b76e5076f917112a24ff7094857730;p=dygraphs.git diff --git a/auto_tests/tests/update_while_panning.js b/auto_tests/tests/update_while_panning.js index ac01900..c810f1a 100644 --- a/auto_tests/tests/update_while_panning.js +++ b/auto_tests/tests/update_while_panning.js @@ -5,14 +5,13 @@ * * @author dan@dygraphs.com (Dan Vanderkam) */ -describe("update-while-panning", function() { -beforeEach(function() { - document.body.innerHTML = "
"; -}); +import Dygraph from '../../src/dygraph'; +import DygraphOps from './DygraphOps'; -afterEach(function() { -}); +describe("update-while-panning", function() { + +cleanupAfterEach(); // This tests the following sequence: // 1. Begin dragging a chart (x-panning)