diff options
Diffstat (limited to 'spec/setupBrowser.js')
-rw-r--r-- | spec/setupBrowser.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/setupBrowser.js b/spec/setupBrowser.js new file mode 100644 index 0000000..6ec7816 --- /dev/null +++ b/spec/setupBrowser.js @@ -0,0 +1,12 @@ +import { buildCanvas, buildFixtures, clear } from './helpers.js' + +beforeEach(() => { + //buildFixtures() + buildCanvas() + window.container = document.getElementById('canvas') +}) + +afterEach(() => { + clear() + window.container = null +}) |