1
1
mirror of https://github.com/reduxjs/redux-devtools.git synced 2025-02-28 17:30:38 +03:00
redux-devtools/packages/react-dock/jest.config.cjs

14 lines
275 B
JavaScript
Raw Normal View History

module.exports = {
testEnvironment: 'jsdom',
extensionsToTreatAsEsm: ['.ts', '.tsx'],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
transform: {
'^.+\\.tsx?$': [
'ts-jest',
{ tsconfig: 'tsconfig.test.json', useESM: true },
],
},
};