mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
17 lines
556 B
JavaScript
17 lines
556 B
JavaScript
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
|
|
|
module.exports = {
|
|
roots: ['<rootDir>/src'],
|
|
transform: {
|
|
'^.+\\.(ts|tsx)$': 'ts-jest',
|
|
'^.+\\.(js|jsx)$': 'babel-jest'
|
|
},
|
|
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$',
|
|
testEnvironment: 'jsdom',
|
|
//moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
setupFiles: ['./jest.setup.cjs'],
|
|
moduleNameMapper: {
|
|
'\\.(css|less|scss|sass)$': 'identity-obj-proxy'
|
|
},
|
|
transformIgnorePatterns: ['node_modules/(?!nanoid/)']
|
|
};
|