mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
18 lines
491 B
JavaScript
18 lines
491 B
JavaScript
module.exports = {
|
|
transform: {
|
|
'^.+\\.(t|j)s$': ['@swc/jest'],
|
|
},
|
|
testEnvironment: 'node',
|
|
clearMocks: true,
|
|
coverageProvider: 'v8',
|
|
setupFilesAfterEnv: ['./jest.setup.js'],
|
|
testMatch: ['<rootDir>/tests/**/*.test.ts', '<rootDir>/src/**/*.test.ts'],
|
|
testTimeout: 60000,
|
|
modulePathIgnorePatterns: ['<rootDir>/.tmp/'],
|
|
|
|
// NOTE: This should be kept in sync with tsconfig.json
|
|
moduleNameMapper: {
|
|
'^~/(.*)$': '<rootDir>/$1',
|
|
},
|
|
}
|