Skip to content

Commit 34bdc89

Browse files
fix: test
Signed-off-by: Joris Mancini <[email protected]>
1 parent bbcb8d1 commit 34bdc89

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

jest.config.ts

+2-8
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,8 @@ const config: Config = {
1313
'^.+\\.svg\\?react$': 'jest-svg-transformer',
1414
'^.+\\.(css|less|scss)$': 'identity-obj-proxy',
1515
},
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-
],
23-
moduleDirectories: ['node_modules', 'src'], // to allow absolute path from ./src
16+
// see https://github.com/react-dnd/react-dnd/issues/3443
17+
transformIgnorePatterns: ['node_modules/(?!react-dnd)/'],
2418
setupFiles: ['<rootDir>/jest.setup.ts'],
2519
};
2620

0 commit comments

Comments
 (0)