git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second.
[jquery.git]
/
test
/
unit
/
ajax.js
diff --git
a/test/unit/ajax.js
b/test/unit/ajax.js
index
677838b
..
ce099c1
100644
(file)
--- a/
test/unit/ajax.js
+++ b/
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({
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" );
timeout: 500,
error: function(request, status) {
ok( status != null, "status shouldn't be null in error handler" );