File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -93,19 +93,18 @@ describe('colReorder - move()', function() {
93
93
dt . html ( 'basic' ) ;
94
94
let table ;
95
95
96
- // TK COLIN Disabled because of DD-759
97
- // it('Ensure row heights are sensible', function() {
98
- // table = $('#example').DataTable({
99
- // colReorder: true
100
- // });
96
+ it ( 'Ensure row heights are sensible' , function ( ) {
97
+ table = $ ( '#example' ) . DataTable ( {
98
+ colReorder : true
99
+ } ) ;
101
100
102
- // let height = $('tbody tr:eq(1)').height();
101
+ let height = $ ( 'tbody tr:eq(1)' ) . height ( ) ;
103
102
104
- // table.column(1).visible(false);
105
- // table.colReorder.move(4, 3);
106
- // table.columns().visible(true);
103
+ table . column ( 1 ) . visible ( false ) ;
104
+ table . colReorder . move ( 4 , 3 ) ;
105
+ table . columns ( ) . visible ( true ) ;
107
106
108
- // expect(height).toBe($('tbody tr:eq(1)').height())
109
- // });
107
+ expect ( height ) . toBe ( $ ( 'tbody tr:eq(1)' ) . height ( ) )
108
+ } ) ;
110
109
} ) ;
111
110
} ) ;
You can’t perform that action at this time.
0 commit comments