X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fscientific_notation.js;fp=auto_tests%2Ftests%2Fscientific_notation.js;h=a502484b396fc90847dfe34d23fe87d81133c242;hb=e8c70e4e0f4c124a2c68eb43d6ec4e781d1bf810;hp=ebbf2ed5055084a23cb42d922e802905679578c4;hpb=6ecc073934b76e5076f917112a24ff7094857730;p=dygraphs.git diff --git a/auto_tests/tests/scientific_notation.js b/auto_tests/tests/scientific_notation.js index ebbf2ed..a502484 100644 --- a/auto_tests/tests/scientific_notation.js +++ b/auto_tests/tests/scientific_notation.js @@ -5,14 +5,13 @@ * * @author danvk@google.com (Dan Vanderkam) */ -describe("scientific-notation", function() { -beforeEach(function() { - document.body.innerHTML = "
"; -}); +import Dygraph from '../../src/dygraph'; +import {assertDeepCloseTo} from './custom_asserts'; -afterEach(function() { -}); +describe("scientific-notation", function() { + +cleanupAfterEach(); function getXValues(g) { var xs = [];