2022-10-20 12:11:05 +02:00
|
|
|
module.exports = {
|
|
|
|
transform: {
|
|
|
|
'^.+\\.(t|j)s$': [
|
|
|
|
'@swc/jest',
|
|
|
|
{
|
|
|
|
jsc: {
|
|
|
|
target: 'es2021',
|
|
|
|
},
|
|
|
|
sourceMaps: true,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
coverageProvider: 'v8',
|
|
|
|
testEnvironment: 'node',
|
|
|
|
testMatch: ['<rootDir>/functional_tests/**/*.test.ts'],
|
2022-11-30 14:43:36 +01:00
|
|
|
setupFilesAfterEnv: ['<rootDir>/functional_tests/jest.setup.ts'],
|
2022-12-05 13:30:52 +01:00
|
|
|
globalTeardown: '<rootDir>/functional_tests/jest.global-teardown.ts',
|
2022-10-20 12:11:05 +02:00
|
|
|
testTimeout: 60000,
|
2022-11-30 13:49:17 +01:00
|
|
|
maxConcurrency: 10,
|
|
|
|
maxWorkers: 6,
|
2022-10-20 12:11:05 +02:00
|
|
|
}
|