0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/plugin-server/jest.config.js
2024-02-26 09:43:27 +01:00

13 lines
344 B
JavaScript

module.exports = {
transform: {
'^.+\\.(t|j)s$': ['@swc/jest'],
},
testEnvironment: 'node',
clearMocks: true,
coverageProvider: 'v8',
setupFilesAfterEnv: ['./jest.setup.fetch-mock.js'],
testMatch: ['<rootDir>/tests/**/*.test.ts'],
testTimeout: 60000,
modulePathIgnorePatterns: ['<rootDir>/.tmp/'],
}