mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge pull request #424 from hdeshev/kill-lib-d-ts
Remove redundant lib.d.ts
This commit is contained in:
@@ -37,7 +37,7 @@ export var testLoadExistingUrl = function () {
|
|||||||
newPage.content = webView;
|
newPage.content = webView;
|
||||||
return newPage;
|
return newPage;
|
||||||
};
|
};
|
||||||
|
|
||||||
helper.navigate(pageFactory);
|
helper.navigate(pageFactory);
|
||||||
|
|
||||||
var testFinished = false;
|
var testFinished = false;
|
||||||
@@ -62,14 +62,14 @@ export var testLoadExistingUrl = function () {
|
|||||||
}
|
}
|
||||||
//console.log(message);
|
//console.log(message);
|
||||||
});
|
});
|
||||||
webView.url = "https://httpbin.org/html";
|
webView.url = "http://nsbuild01.telerik.com/docs/";
|
||||||
|
|
||||||
TKUnit.wait(4);
|
TKUnit.wait(4);
|
||||||
|
|
||||||
helper.goBack();
|
helper.goBack();
|
||||||
|
|
||||||
if (testFinished) {
|
if (testFinished) {
|
||||||
TKUnit.assert(actualUrl === "https://httpbin.org/html", "args.url should equal https://httpbin.org/html");
|
TKUnit.assert(actualUrl === "http://nsbuild01.telerik.com/docs/", "args.url should equal http://nsbuild01.telerik.com/docs/");
|
||||||
TKUnit.assert(actualError === undefined, actualError);
|
TKUnit.assert(actualError === undefined, actualError);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -232,4 +232,4 @@ export var testLoadInvalidUrl = function () {
|
|||||||
else {
|
else {
|
||||||
TKUnit.assert(false, "TIMEOUT");
|
TKUnit.assert(false, "TIMEOUT");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user