mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
test updated
This commit is contained in:
@ -129,7 +129,7 @@ export var test_getImage_fail = function () {
|
||||
var completed: boolean;
|
||||
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;
|
||||
result = e;
|
||||
});
|
||||
|
Reference in New Issue
Block a user