double test timeout for test pass in old machine

This commit is contained in:
1111hui 2016-10-10 16:41:57 +08:00
parent e1883816c9
commit 49d678e9a2

View file

@ -294,7 +294,7 @@ o.spec("route", function() {
}) })
o("changing `vnode.key` in `render` resets the component", function(done, timeout){ o("changing `vnode.key` in `render` resets the component", function(done, timeout){
timeout(FRAME_BUDGET * 3) timeout(FRAME_BUDGET * 6)
var oninit = o.spy() var oninit = o.spy()
var Component = { var Component = {
@ -556,7 +556,7 @@ o.spec("route", function() {
}) })
o("routing with RouteResolver works more than once", function(done, timeout) { o("routing with RouteResolver works more than once", function(done, timeout) {
timeout(100) timeout(200)
$window.location.href = prefix + "/a" $window.location.href = prefix + "/a"
route(root, '/a', { route(root, '/a', {
@ -586,7 +586,7 @@ o.spec("route", function() {
}) })
o("calling route.set invalidates pending onmatch resolution", function(done, timeout) { o("calling route.set invalidates pending onmatch resolution", function(done, timeout) {
timeout(100) timeout(200)
var resolved var resolved
$window.location.href = prefix + "/a" $window.location.href = prefix + "/a"