diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2015-02-17 16:11:58 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2015-03-04 23:04:07 +0100 |
commit | 666f051c3a7c0313acacad0255ab8a45697777c3 (patch) | |
tree | ce60522e6bd237ca14ae41270e6e6159190593e5 /tests/unit/dialog | |
parent | 19783fd3e6a6e6e02a2030028e8820076c3b1295 (diff) | |
download | jquery-ui-666f051c3a7c0313acacad0255ab8a45697777c3.tar.gz jquery-ui-666f051c3a7c0313acacad0255ab8a45697777c3.zip |
Tests: Reduce timeouts to optimize testsuite runtime
Diffstat (limited to 'tests/unit/dialog')
-rw-r--r-- | tests/unit/dialog/dialog_events.js | 2 | ||||
-rw-r--r-- | tests/unit/dialog/dialog_methods.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/dialog/dialog_events.js b/tests/unit/dialog/dialog_events.js index 49b93bdd1..f4b353b8d 100644 --- a/tests/unit/dialog/dialog_events.js +++ b/tests/unit/dialog/dialog_events.js @@ -337,7 +337,7 @@ asyncTest("ensure dialog's container doesn't scroll on resize and focus", functi equal($(window).scrollTop(), initialScroll, "scroll hasn't moved after focus moved to dialog"); element.dialog("destroy"); start(); - }, 500); + }); }); test("#5184: isOpen in dialogclose event is true", function() { diff --git a/tests/unit/dialog/dialog_methods.js b/tests/unit/dialog/dialog_methods.js index c449ad0d4..ea4a7002a 100644 --- a/tests/unit/dialog/dialog_methods.js +++ b/tests/unit/dialog/dialog_methods.js @@ -87,7 +87,7 @@ asyncTest("#9000: Dialog leaves broken event handler after close/destroy in cert $( "#favorite-animal" ).focus(); ok( true, "close and destroy modal dialog before its really opened" ); start(); - }, 2 ); + }); }); test("#4980: Destroy should place element back in original DOM position", function(){ |