Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[dialog unit tests] Add expect() to the double-close test

  • Loading branch information...
commit 10f6c5a7a0eaaf0ee595e397b6e9c40fcd4e0bd4 1 parent 5339f7d
@gabrielschulhof gabrielschulhof authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  tests/unit/dialog/dialog_events.js
View
2  tests/unit/dialog/dialog_events.js
@@ -41,6 +41,8 @@
asyncTest( "clicking dialog 'Close' button twice in quick succession does not cause the browser history to retreat by two", function() {
var correctLocation;
+ expect(3);
+
$.testHelper.pageSequence([
function() {
$.mobile.changePage( $( "#mypage" ) );
Please sign in to comment.
Something went wrong with that request. Please try again.