@@ -129,7 +129,7 @@ QUnit.test('Select and unselect all items via API', function(assert) {
129129 assert . strictEqual ( this . checkAllItemsSelection ( false ) , 6 , 'all items are unselected' ) ;
130130} ) ;
131131
132- QUnit . module ( 'Events should not duplicate when container changes (T1234567 )' , {
132+ QUnit . module ( 'Events should not duplicate when container changes (T1314209 )' , {
133133 beforeEach : function ( ) {
134134 this . items = [
135135 { id : 1 , text : 'Item 1' , parentId : 0 } ,
@@ -209,7 +209,7 @@ QUnit.module('Events should not duplicate when container changes (T1234567)', {
209209 const instance = $treeView . dxTreeView ( 'instance' ) ;
210210 instance . option ( 'items' , this . items ) ;
211211
212- const $firstItem = $treeView$treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
212+ const $firstItem = $treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
213213 $firstItem . trigger ( 'dxclick' ) ;
214214
215215 assert . strictEqual ( onSelectionChangedStub . callCount , 1 , 'onSelectionChanged should fire exactly once' ) ;
@@ -231,7 +231,7 @@ QUnit.module('Events should not duplicate when container changes (T1234567)', {
231231 const instance = $treeView . dxTreeView ( 'instance' ) ;
232232 instance . option ( 'items' , this . items ) ;
233233
234- const $firstItem = $treeView$treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
234+ const $firstItem = $treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
235235
236236 $firstItem . trigger ( 'dxclick' ) ;
237237 assert . strictEqual ( onSelectionChangedStub . callCount , 1 , 'first click: selection changed once' ) ;
@@ -263,7 +263,7 @@ QUnit.module('Events should not duplicate when container changes (T1234567)', {
263263
264264 onItemClickStub . reset ( ) ;
265265 onSelectionChangedStub . reset ( ) ;
266- const $firstItem = $treeView$treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
266+ const $firstItem = $treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
267267 $firstItem . trigger ( 'dxclick' ) ;
268268
269269 assert . strictEqual ( onItemClickStub . callCount , 1 , 'clicking item should trigger onItemClick once' ) ;
@@ -298,7 +298,7 @@ QUnit.module('Events should not duplicate when container changes (T1234567)', {
298298 const instance = $treeView . dxTreeView ( 'instance' ) ;
299299 instance . option ( 'items' , this . items ) ;
300300
301- const $firstItem = $treeView$treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
301+ const $firstItem = $treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
302302 $firstItem . trigger ( 'dxhold' ) ;
303303
304304 assert . strictEqual ( onItemHoldStub . callCount , 1 , 'onItemHold fired exactly once' ) ;
@@ -315,7 +315,7 @@ QUnit.module('Events should not duplicate when container changes (T1234567)', {
315315 const instance = $treeView . dxTreeView ( 'instance' ) ;
316316 instance . option ( 'items' , this . items ) ;
317317
318- const $firstItem = $treeView$treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
318+ const $firstItem = $treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
319319 $firstItem . trigger ( 'dxcontextmenu' ) ;
320320
321321 assert . strictEqual ( onItemContextMenuStub . callCount , 1 , 'onItemContextMenu fired exactly once' ) ;
@@ -332,7 +332,7 @@ QUnit.module('Events should not duplicate when container changes (T1234567)', {
332332 const instance = $treeView . dxTreeView ( 'instance' ) ;
333333 instance . option ( 'items' , this . items ) ;
334334
335- const $firstItem = $treeView$treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
335+ const $firstItem = $treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
336336 $firstItem . trigger ( 'dxclick' ) ;
337337
338338 assert . strictEqual ( onItemClickStub . callCount , 1 , 'onItemClick should fire once even in normal mode' ) ;
@@ -353,7 +353,7 @@ QUnit.module('Events should not duplicate when container changes (T1234567)', {
353353 { id : 3 , text : 'Item 3' , parentId : 0 }
354354 ] ) ;
355355
356- const $firstItem = $treeView$treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
356+ const $firstItem = $treeView . find ( `.${ ITEM_CLASS } ` ) . first ( ) ;
357357 $firstItem . trigger ( 'dxclick' ) ;
358358
359359 assert . strictEqual ( onItemClickStub . callCount , 1 , 'onItemClick should fire once after multiple option changes' ) ;
0 commit comments