Skip to content

Commit f374fb4

Browse files
author
Vladimir Enchev
committed
lint errors fixed
1 parent 9e7fbc8 commit f374fb4

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

apps/tests/xml-declaration/xml-declaration-tests.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,23 @@ export function test_parse_ShouldParseBindingsWithObservable() {
153153

154154
export function test_parse_ShouldParseBindingsToEvents() {
155155
var p = <page.Page>builder.parse("<Page><Button tap='{{ myTap }}' /></Page>");
156-
p.bindingContext = { myTap: function (args) { } };
156+
p.bindingContext = {
157+
myTap: function (args) {
158+
//
159+
}
160+
};
157161
var btn = <buttonModule.Button>p.content;
158162

159163
TKUnit.assert(btn.hasListeners("tap"), "Expected result: true.");
160164
};
161165

162166
export function test_parse_ShouldParseBindingsToGestures() {
163167
var p = <page.Page>builder.parse("<Page><Label tap='{{ myTap }}' /></Page>");
164-
p.bindingContext = { myTap: function (args) { } };
168+
p.bindingContext = {
169+
myTap: function (args) {
170+
//
171+
}
172+
};
165173
var lbl = <labelModule.Label>p.content;
166174

167175
TKUnit.assert((<any>lbl)._gesturesObserver !== undefined, "Expected result: true.");

0 commit comments

Comments
 (0)