mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: update tslint rules (#7391)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import * as TKUnit from "../../tk-unit";
|
||||
import * as TKUnit from "../../tk-unit";
|
||||
import * as helper from "../../ui-helper";
|
||||
import * as types from "tns-core-modules/utils/types";
|
||||
|
||||
@@ -13,9 +13,10 @@ export function test_recycling() {
|
||||
var _createHtmlViewFunc = function (): htmlViewModule.HtmlView {
|
||||
// >> htmlview-create
|
||||
var htmlView = new htmlViewModule.HtmlView();
|
||||
|
||||
// << htmlview-create
|
||||
return htmlView;
|
||||
}
|
||||
};
|
||||
|
||||
export var testLoadHTMLString = function () {
|
||||
let page = helper.getCurrentPage();
|
||||
@@ -31,4 +32,4 @@ export var testLoadHTMLString = function () {
|
||||
} else if (htmlView.android) {
|
||||
TKUnit.assert(htmlView.android.getText(), "HTML string not loaded properly. Actual: " + htmlView.android.getText());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user