Fix ospec timeout usage
This commit is contained in:
parent
cea8e64359
commit
896e9db7d8
1 changed files with 2 additions and 2 deletions
|
|
@ -129,8 +129,8 @@ o.spec("api", function() {
|
||||||
done()
|
done()
|
||||||
}, FRAME_BUDGET)
|
}, FRAME_BUDGET)
|
||||||
})
|
})
|
||||||
o("m.route.set", function(done, timeout) {
|
o("m.route.set", function(done) {
|
||||||
timeout(100)
|
o.timeout(100)
|
||||||
root = window.document.createElement("div")
|
root = window.document.createElement("div")
|
||||||
m.route(root, "/a", {
|
m.route(root, "/a", {
|
||||||
"/:id": createComponent({view: function() {return m("div")}})
|
"/:id": createComponent({view: function() {return m("div")}})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue