X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fsanity.js;h=e1d37ab4465f75ea43fc4e85a91dbb24f9e4bcb8;hb=bedc5cd39283fe07b9e4125c4e397b14571fed15;hp=0f3057c7b2977aba82f609848486650f577ed8b2;hpb=8bd58e55cfd7d903d68ec434be1f17f78dc11de1;p=dygraphs.git diff --git a/auto_tests/tests/sanity.js b/auto_tests/tests/sanity.js index 0f3057c..e1d37ab 100644 --- a/auto_tests/tests/sanity.js +++ b/auto_tests/tests/sanity.js @@ -25,14 +25,14 @@ * @author konigsberg@google.com (Robert Konigsberg) */ +import Dygraph from '../../src/dygraph'; + describe("dygraphs-sanity", function() { var DEAD_SIMPLE_DATA = 'X,Y\n10,2100'; var ZERO_TO_FIFTY = 'X,Y\n10,0\n20,50'; -beforeEach(function() { - document.body.innerHTML = "
"; -}); +cleanupAfterEach(); /** * The sanity test of sanity tests.