0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
posthog/plugin-server/jest.config.functional.js

22 lines
579 B
JavaScript
Raw Normal View History

module.exports = {
transform: {
'^.+\\.(t|j)s$': [
'@swc/jest',
{
jsc: {
target: 'es2021',
},
sourceMaps: true,
},
],
},
coverageProvider: 'v8',
testEnvironment: 'node',
testMatch: ['<rootDir>/functional_tests/**/*.test.ts'],
setupFilesAfterEnv: ['<rootDir>/functional_tests/jest.setup.ts'],
globalTeardown: '<rootDir>/functional_tests/jest.global-teardown.ts',
testTimeout: 60000,
maxConcurrency: 10,
maxWorkers: 6,
}