Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit b1299a7

Browse files
johnbenderGabriel Schulhof
authored and
Gabriel Schulhof
committed
make sure the test runs before the test suite has moved on
1 parent 0212315 commit b1299a7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/unit/navigation/navigation_core.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@
465465
}]);
466466
});
467467

468-
asyncTest( "opening a dialog, closing it, moving forward, and opening it again, does not result in a dialog that needs to be closed twice ", function() {
468+
asyncTest( "opening a dialog, closing it, moving forward, and opening it again, does not result in a dialog that needs to be closed twice", function() {
469469
$.testHelper.pageSequence([
470470
// setup
471471
function(){ $.testHelper.openPage("#dialog-double-hash-test"); },
@@ -491,9 +491,10 @@
491491
function() {
492492
setTimeout( function() {
493493
same($("#dialog-double-hash-test")[0], $.mobile.activePage[0], "should be back to the test page");
494+
start();
494495
}, 300);
495-
start();
496-
}]);
496+
}
497+
]);
497498
});
498499

499500
asyncTest( "going back from a dialog triggered from a dialog should result in the first dialog ", function(){

0 commit comments

Comments
 (0)