add integration test

This commit is contained in:
Leo Horie 2016-12-04 23:36:38 -05:00
parent 2ffd2fb7e4
commit a2b45ff131
2 changed files with 24 additions and 1 deletions

View file

@ -8,7 +8,7 @@ o.spec("api", function() {
var FRAME_BUDGET = Math.floor(1000 / 60)
o.beforeEach(function() {
var mock = browserMock()
if (typeof global !== "undefined") global.window = mock, global.document = mock.document
if (typeof global !== "undefined") global.window = mock
m = require("../mithril")
})