File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { flushPromises } from '../testUtil';
11
11
import { Status } from '../../../src/types' ;
12
12
import * as TableActions from '../../../src/view/actions' ;
13
13
import Tabular from '../../../src/tabular' ;
14
+ import { EventEmitter } from '../../../src/util/eventEmitter' ;
14
15
15
16
expect . extend ( toHaveNoViolations ) ;
16
17
@@ -314,11 +315,13 @@ describe('Container component', () => {
314
315
} ) ;
315
316
316
317
it ( 'should remove the EventEmitter listeners' , async ( ) => {
317
- config . update ( {
318
+ const config = new Config ( ) . update ( {
319
+ data : [ ] ,
318
320
search : true ,
319
321
pagination : true ,
320
322
columns : [ 'Name' , 'Phone Number' ] ,
321
323
sort : true ,
324
+ eventEmitter : new EventEmitter < any > ( ) ,
322
325
} ) ;
323
326
324
327
const container = mount (
You can’t perform that action at this time.
0 commit comments