diff options
Diffstat (limited to 'spec/setupSVGDom.js')
-rw-r--r-- | spec/setupSVGDom.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/setupSVGDom.js b/spec/setupSVGDom.js index 22bf565..be5b803 100644 --- a/spec/setupSVGDom.js +++ b/spec/setupSVGDom.js @@ -7,7 +7,7 @@ import { registerWindow } from '../src/main.js' jasmine.DEFAULT_TIMEOUT_INTERVAL = 200 -function setup () { +function setup() { const win = createHTMLWindow() registerWindow(win, win.document) buildCanvas() @@ -15,7 +15,7 @@ function setup () { global.container = win.document.getElementById('canvas') } -function teardown () { +function teardown() { clear() global.container = null registerWindow() |