Fix the bundle and bundle tests

This commit is contained in:
Pierre-Yves Gerardy 2016-09-03 23:28:17 +02:00
parent a1131eb4f2
commit 057f3a9d2f
2 changed files with 5 additions and 3 deletions

View file

@ -10,8 +10,8 @@ var Stream = require("./stream")
requestService.setCompletionCallback(redrawService.publish)
m.route = require("./route")
m.mount = require("./mount")
m.route = require("./route")
m.withAttr = require("./util/withAttr")
m.prop = Stream
m.render = renderService.render

View file

@ -164,9 +164,11 @@ o.spec("api", function() {
setTimeout(function() {
m.route.set("/b")
o(m.route.get()).equals("/b")
setTimeout(function() {
o(m.route.get()).equals("/b")
done()
done()
}, FRAME_BUDGET)
}, FRAME_BUDGET)
})
})