mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2026-03-09 22:22:42 +03:00
* Convert @redux-devtools/instrument to ESM * Update @redux-devtools/instrument version and format Change version of @redux-devtools/instrument from patch to major and convert to ESM. * Exports? * Use exports everywhere * Use jest.ts * Fix redux-devtools test * Updates * Update
15 lines
317 B
TypeScript
15 lines
317 B
TypeScript
import { createDefaultEsmPreset, type JestConfigWithTsJest } from 'ts-jest';
|
|
|
|
const presetConfig = createDefaultEsmPreset({
|
|
tsconfig: 'tsconfig.test.json',
|
|
});
|
|
|
|
const jestConfig: JestConfigWithTsJest = {
|
|
...presetConfig,
|
|
moduleNameMapper: {
|
|
'^(\\.{1,2}/.*)\\.js$': '$1',
|
|
},
|
|
};
|
|
|
|
export default jestConfig;
|