require('ignore-styles')
require('babel-register')

global.window = require('mithril/test-utils/domMock.js')()
global.window = Object.assign(global.window, require('mithril/test-utils/pushStateMock')())

require('ignore-styles')
// require('babel-register')

global.window = require('mithril/test-utils/domMock.js')()
global.window = Object.assign(global.window, require('mithril/test-utils/pushStateMock')())

remove babel-register from tests/setup