redux-devtools/packages/redux-devtools-inspector-monitor-test-tab/jest.config.js
renovate[bot] 0833fa1622
fix(deps): update dependency dateformat to v5 (#884)
* fix(deps): update dependency dateformat to v5

* Fix transformIgnorePattern

* Update

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2023-01-02 19:58:10 -05:00

13 lines
337 B
JavaScript

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|nanoid)'],
};