mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix failing unit tests
This commit is contained in:
@@ -532,7 +532,7 @@ export var test_request_jsonAsContentSentAndReceivedProperly = function (done) {
|
||||
|
||||
export var test_getString_FromVariousUrls_ShouldWorkProperly = function (done) {
|
||||
var urls = [
|
||||
"http://api.openweathermap.org/data/2.5/find?q=London,uk",
|
||||
"http://it-ebooks-api.info/v1/book/1615005640",
|
||||
"http://www.telerik.com",
|
||||
"https://spreadsheets.google.com/tq?key=1tJ64Y8hje0ui4ap9U33h3KWwpxT_-JuVMSZzxD2Er8k"
|
||||
];
|
||||
|
||||
@@ -39,7 +39,7 @@ export function buttonTap(args: observable.EventData) {
|
||||
}
|
||||
}
|
||||
|
||||
http.getString("http://api.openweathermap.org/data/2.5/find?q=London,uk").then(r=> {
|
||||
http.getString("http://it-ebooks-api.info/v1/book/1615005640").then(r=> {
|
||||
console.log("R: " + r)
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user