[router] Fix hopefully the last race condition

This commit is contained in:
Pierre-Yves Gerardy 2016-12-08 21:44:21 +01:00
parent 605fa44711
commit 703aab7905
2 changed files with 13 additions and 13 deletions

View file

@ -932,7 +932,7 @@ o.spec("route", function() {
})
})
o.only("when two async routes are racing, the last one set cancels the finalization of the first", function(done) {
o("when two async routes are racing, the last one set cancels the finalization of the first", function(done) {
var renderA = o.spy()
var renderB = o.spy()
var onmatchA = o.spy(function(){