Skip to content
Permalink
Browse files

The timeout test was waiting for 10 seconds - unnecessary, lowered it…

… to 1 second.
  • Loading branch information
jeresig committed Jan 5, 2009
1 parent 4503457 commit 60226c8a30df9c1d41093de586e5936e42d44865
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit/ajax.js
@@ -821,7 +821,7 @@ test("ajaxSetup()", function() {
test("custom timeout does not set error message when timeout occurs, see #970", function() {
stop();
jQuery.ajax({
url: "data/name.php?wait=10",
url: "data/name.php?wait=1",
timeout: 500,
error: function(request, status) {
ok( status != null, "status shouldn't be null in error handler" );

0 comments on commit 60226c8

Please sign in to comment.
You can’t perform that action at this time.