X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fupdate_while_panning.js;h=c810f1a29f330ffaf1fb8028175e2e35f5b35b85;hb=refs%2Ftags%2Fv2.0.0;hp=ac01900599915a5ae8afecd03b12b56f3c0075f7;hpb=1b7afc93886e2927b6f320e8e1ed4dd6bd9ab53b;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)