2020-12-19 23:01:09 +03:00
|
|
|
module.exports = {
|
2021-06-20 04:58:59 +03:00
|
|
|
setupFilesAfterEnv: ['<rootDir>/test/setup.js'],
|
2021-06-20 06:08:00 +03:00
|
|
|
testPathIgnorePatterns: ['<rootDir>/examples'],
|
2021-08-27 19:08:40 +03:00
|
|
|
testEnvironment: 'jsdom',
|
2021-08-30 04:32:29 +03:00
|
|
|
moduleNameMapper: {
|
2024-09-20 05:51:22 +03:00
|
|
|
'\\.css$': '<rootDir>/test/__mocks__/styleMock.js',
|
2021-08-30 04:32:29 +03:00
|
|
|
},
|
2023-01-03 03:58:10 +03:00
|
|
|
transformIgnorePatterns: [
|
2024-04-07 06:44:14 +03:00
|
|
|
'node_modules/(?!.pnpm|@babel/code-frame|@babel/highlight|@babel/helper-validator-identifier|chalk|d3|dateformat|delaunator|internmap|jsondiffpatch|lodash-es|nanoid|robust-predicates|uuid)',
|
2023-01-03 03:58:10 +03:00
|
|
|
],
|
2020-12-19 23:01:09 +03:00
|
|
|
};
|