X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fannotations.js;fp=auto_tests%2Ftests%2Fannotations.js;h=3be1936ace16ff38b225e45a3f83933237cb96d0;hb=e8c70e4e0f4c124a2c68eb43d6ec4e781d1bf810;hp=3ea5e7c470ccacccf665c9e828e5a1b532e478fc;hpb=6ecc073934b76e5076f917112a24ff7094857730;p=dygraphs.git diff --git a/auto_tests/tests/annotations.js b/auto_tests/tests/annotations.js index 3ea5e7c..3be1936 100644 --- a/auto_tests/tests/annotations.js +++ b/auto_tests/tests/annotations.js @@ -3,14 +3,13 @@ * * @author danvk@google.com (Dan Vanderkam) */ -describe("annotations", function() { -beforeEach(function() { - document.body.innerHTML = "
"; -}); +import Dygraph from '../../src/dygraph'; +import Util from './Util'; -afterEach(function() { -}); +describe("annotations", function() { + +cleanupAfterEach(); it('testAnnotationsDrawn', function() { var opts = {