File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ describe('gridstack', function() {
56
56
expect ( grid ) . not . toBe ( null ) ;
57
57
} ) ;
58
58
it ( 'use wrong selector' , function ( ) {
59
- let grid = GridStack . init ( null , 'FOO ' ) ;
59
+ let grid = GridStack . init ( null , 'BAD_SELECTOR_TEST ' ) ;
60
60
expect ( grid ) . toEqual ( null ) ;
61
61
} ) ;
62
62
it ( 'initAll use selector' , function ( ) {
@@ -68,7 +68,7 @@ describe('gridstack', function() {
68
68
expect ( grids . length ) . toBe ( 1 ) ;
69
69
} ) ;
70
70
it ( 'initAll use wrong selector' , function ( ) {
71
- let grids = GridStack . initAll ( undefined , 'FOO ' ) ;
71
+ let grids = GridStack . initAll ( undefined , 'BAD_SELECTOR_TEST ' ) ;
72
72
expect ( grids . length ) . toBe ( 0 ) ;
73
73
} ) ;
74
74
} ) ;
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ export class GridStack {
183
183
* See instead `GridStackOptions.engineClass` if you only need to
184
184
* replace just one instance.
185
185
*/
186
- static registerEngine ( engineClass : typeof GridStackEngine ) {
186
+ static registerEngine ( engineClass : typeof GridStackEngine ) : void {
187
187
GridStack . engineClass = engineClass ;
188
188
}
189
189
You can’t perform that action at this time.
0 commit comments