File tree Expand file tree Collapse file tree
packages/react-bootstrap-table2/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,10 +124,10 @@ describe('Cell', () => {
124124 onClick : sinon . stub ( )
125125 } ;
126126 } ) ;
127- it ( 'should calling custom onClick callback also' , ( ) => {
127+
128+ it ( 'should call onStart correctly' , ( ) => {
128129 wrapper . find ( 'td' ) . simulate ( 'click' ) ;
129130 expect ( onStartCallBack . callCount ) . toBe ( 1 ) ;
130- expect ( column . events . onClick . callCount ) . toBe ( 1 ) ;
131131 } ) ;
132132 } ) ;
133133 } ) ;
@@ -164,10 +164,10 @@ describe('Cell', () => {
164164 onDoubleClick : sinon . stub ( )
165165 } ;
166166 } ) ;
167- it ( 'should calling custom onDoubleClick callback also' , ( ) => {
167+
168+ it ( 'should call onStart correctly' , ( ) => {
168169 wrapper . find ( 'td' ) . simulate ( 'doubleclick' ) ;
169170 expect ( onStartCallBack . callCount ) . toBe ( 1 ) ;
170- expect ( column . events . onDoubleClick . callCount ) . toBe ( 1 ) ;
171171 } ) ;
172172 } ) ;
173173 } ) ;
You can’t perform that action at this time.
0 commit comments