mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
test updated
This commit is contained in:
@ -129,7 +129,7 @@ export var test_getImage_fail = function () {
|
|||||||
var completed: boolean;
|
var completed: boolean;
|
||||||
var isReady = function () { return completed; }
|
var isReady = function () { return completed; }
|
||||||
|
|
||||||
http.getImage({ url: "hgfttp://httpbin.org/get", method: "GET", timeout: 2000 }).fail(function (e) {
|
http.getImage({ url: "hgfttp://www.google.com/images/errors/logo_sm_2.png", method: "GET", timeout: 2000 }).fail(function (e) {
|
||||||
completed = true;
|
completed = true;
|
||||||
result = e;
|
result = e;
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user