mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-23 18:13:53 +03:00
96ac1f291a
This change splits out the main logic from the Redux Devtools App into a new core package but keeps the socket connection management in @redux-devtools/app. The aim is to allow for easier reuse of the rest of the app in other envioronments with their own transport methods, such as React Native or Electron.
16 lines
555 B
JavaScript
16 lines
555 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|jsondiffpatch|lodash-es|nanoid|robust-predicates|uuid)',
|
|
],
|
|
};
|