aboutsummaryrefslogtreecommitdiffstats
path: root/spec/setupBrowser.js
blob: 429fa88fae8562032b729261fcf843effebe0d5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* globals beforeEach, afterEach, jasmine */
import { buildCanvas, clear } from './helpers.js'

jasmine.DEFAULT_TIMEOUT_INTERVAL = 500

beforeEach(() => {
  // buildFixtures()
  buildCanvas()
  window.container = document.getElementById('canvas')
})

afterEach(() => {
  clear()
  window.container = null
})