From 666f051c3a7c0313acacad0255ab8a45697777c3 Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Tue, 17 Feb 2015 16:11:58 +0100 Subject: Tests: Reduce timeouts to optimize testsuite runtime --- tests/unit/dialog/dialog_events.js | 2 +- tests/unit/dialog/dialog_methods.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/unit/dialog') 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(){ -- cgit v1.2.3