f4e610d192
Remove clock and notes features to be consistent with `with-redux-toolkit` example, add unit test with Jest ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [x] Make sure the linting passes
16 lines
369 B
TypeScript
16 lines
369 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',
|
|
},
|
|
globals: {
|
|
'ts-jest': {
|
|
tsconfig: 'tsconfig.test.json',
|
|
},
|
|
},
|
|
}
|
|
|
|
export default config
|