add integration test
This commit is contained in:
parent
2ffd2fb7e4
commit
a2b45ff131
2 changed files with 24 additions and 1 deletions
|
|
@ -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")
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue