mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-25 11:03:57 +03:00
20024cfb5b
* chore(deps): update all non-major dependencies * Fix tests --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathan Bierema <nbierema@gmail.com>
16 lines
531 B
JavaScript
16 lines
531 B
JavaScript
module.exports = {
|
|
preset: 'ts-jest',
|
|
setupFilesAfterEnv: ['<rootDir>/test/setup.ts'],
|
|
testEnvironment: 'jsdom',
|
|
moduleNameMapper: {
|
|
'\\.css$': '<rootDir>/test/__mocks__/styleMock.ts',
|
|
},
|
|
transform: {
|
|
'^.+\\.jsx?$': 'babel-jest',
|
|
'^.+\\.tsx?$': ['ts-jest', { tsconfig: 'tsconfig.test.json' }],
|
|
},
|
|
transformIgnorePatterns: [
|
|
'node_modules/(?!.pnpm|@babel/code-frame|@babel/highlight|@babel/helper-validator-identifier|chalk|d3|dateformat|delaunator|internmap|nanoid|robust-predicates|uuid)',
|
|
],
|
|
};
|