dd4215b81e
After talking with markerikson, I've made some updates to the Redux examples: - Updated the `with-redux` example to use the Redux Toolkit + TypeScript example - Updated dependencies of `with-redux` to work with latest testing setup - Removed `with-redux-toolkit` in favor of `with-redux` - Removed `with-redux-toolkit-typescript` in favor of `with-redux` - Removed `with-redux-code-splitting` in favor of `with-redux`
17 lines
397 B
TypeScript
17 lines
397 B
TypeScript
import type { InitialOptionsTsJest } from 'ts-jest/dist/types'
|
|
|
|
const config: InitialOptionsTsJest = {
|
|
preset: 'ts-jest',
|
|
setupFilesAfterEnv: ['<rootDir>/setupTests.ts'],
|
|
transform: {
|
|
'.+\\.(css|styl|less|sass|scss)$': 'jest-css-modules-transform',
|
|
},
|
|
testEnvironment: 'jsdom',
|
|
globals: {
|
|
'ts-jest': {
|
|
tsconfig: 'tsconfig.test.json',
|
|
},
|
|
},
|
|
}
|
|
|
|
export default config
|