mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
The timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second.
This commit is contained in:
parent
4503457616
commit
60226c8a30
@ -821,7 +821,7 @@ test("ajaxSetup()", function() {
|
|||||||
test("custom timeout does not set error message when timeout occurs, see #970", function() {
|
test("custom timeout does not set error message when timeout occurs, see #970", function() {
|
||||||
stop();
|
stop();
|
||||||
jQuery.ajax({
|
jQuery.ajax({
|
||||||
url: "data/name.php?wait=10",
|
url: "data/name.php?wait=1",
|
||||||
timeout: 500,
|
timeout: 500,
|
||||||
error: function(request, status) {
|
error: function(request, status) {
|
||||||
ok( status != null, "status shouldn't be null in error handler" );
|
ok( status != null, "status shouldn't be null in error handler" );
|
||||||
|
Loading…
Reference in New Issue
Block a user