Fixes a race condition in JSONP Local test.
This commit is contained in:
parent
012f0c3b4b
commit
84319aa4a3
|
@ -1084,7 +1084,7 @@ test("jQuery.ajax() - JSONP, Local", function() {
|
|||
expect(10);
|
||||
|
||||
var count = 0;
|
||||
function plus(){ if ( ++count == 9 ) start(); }
|
||||
function plus(){ if ( ++count == 10 ) start(); }
|
||||
|
||||
stop();
|
||||
|
||||
|
|
Loading…
Reference in a new issue