2023-06-24 19:11:12 +02:00
|
|
|
module.exports = {
|
2023-10-24 22:39:57 +02:00
|
|
|
'roots': [
|
|
|
|
'<rootDir>/tests',
|
|
|
|
'<rootDir>/server'
|
|
|
|
],
|
|
|
|
'transform': {
|
|
|
|
'^.+\\.tsx?$': 'ts-jest'
|
|
|
|
},
|
|
|
|
'testRegex': '(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$',
|
2023-10-24 22:42:03 +02:00
|
|
|
'setupFiles': ["<rootDir>/tests/testenv.js"],
|
2023-10-24 22:39:57 +02:00
|
|
|
'moduleFileExtensions': [
|
|
|
|
'ts',
|
|
|
|
'tsx',
|
|
|
|
'js',
|
|
|
|
'jsx',
|
|
|
|
'json',
|
|
|
|
'node'
|
|
|
|
],
|
2023-06-24 19:11:12 +02:00
|
|
|
};
|