mirror of
https://github.com/evgen-app/front-nti-hack.git
synced 2024-11-21 22:16:32 +03:00
18 lines
397 B
TypeScript
18 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
|