aboutsummaryrefslogtreecommitdiffstats
path: root/spec/setupBrowser.js
blob: b2441c13ff148525b78f50ec193d70cd58ccc43c (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 = 200

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

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