|
|
- import type { Config } from '@jest/types';
-
- const config: Config.InitialOptions = {
- transform: {
- '^.+\\.tsx?$': 'ts-jest',
- },
- testRegex: '(/__tests__/.*|(src|test)/.*(\\.|-|/)(test|spec))\\.(jsx?|tsx?)$',
- moduleFileExtensions: ['ts', 'tsx', 'json', 'js', 'jsx'],
- };
-
- export default config;
|