File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
apps/tests/xml-declaration Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -153,15 +153,23 @@ export function test_parse_ShouldParseBindingsWithObservable() {
153153
154154export 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
162166export 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." ) ;
You can’t perform that action at this time.
0 commit comments