File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,13 @@ const config: Config = {
13
13
'^.+\\.svg\\?react$' : 'jest-svg-transformer' ,
14
14
'^.+\\.(css|less|scss)$' : 'identity-obj-proxy' ,
15
15
} ,
16
- // if need to test with AG Grid, see https://www.ag-grid.com/react-data-grid/testing/
17
- transformIgnorePatterns : [ 'node_modules/(?!@gridsuite/commons-ui)' ] , // transform from ESM
16
+ // transform from ESM
17
+ transformIgnorePatterns : [
18
+ // if need to test with AG Grid, see https://www.ag-grid.com/react-data-grid/testing/
19
+ '/node_modules/(?!@gridsuite/commons-ui)' ,
20
+ // also a problem with rect-dnd: https://github.com/react-dnd/react-dnd/issues/3443
21
+ '/node_modules/(?!react-dnd|@react-dnd|dnd-core|core-dnd|react-dnd-html5-backend)' ,
22
+ ] ,
18
23
moduleDirectories : [ 'node_modules' , 'src' ] , // to allow absolute path from ./src
19
24
setupFiles : [ '<rootDir>/jest.setup.ts' ] ,
20
25
} ;
You can’t perform that action at this time.
0 commit comments