redux-devtools/packages/redux-devtools-ui/jest.config.js

13 lines
347 B
JavaScript
Raw Normal View History

module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
moduleNameMapper: {
'\\.css$': '<rootDir>/test/__mocks__/styleMock.ts',
},
transform: {
'^.+\\.jsx?$': 'babel-jest',
'^.+\\.tsx?$': ['ts-jest', { tsconfig: 'tsconfig.test.json' }],
},
transformIgnorePatterns: ['node_modules/(?!.pnpm|lodash-es|nanoid)'],
};