privateGPT MCP Server

/** @type {import('ts-jest').JestConfigWithTsJest} */ export default { preset: 'ts-jest', testEnvironment: 'node', extensionsToTreatAsEsm: ['.ts'], moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1', }, transform: { '^.+\\.tsx?$': [ 'ts-jest', { useESM: true, }, ], }, testMatch: [ '**/tests/**/*.test.ts' ], collectCoverage: true, coverageDirectory: 'coverage', coveragePathIgnorePatterns: [ '/node_modules/', '/tests/', '/dist/' ], verbose: true, testTimeout: 30000, setupFiles: ['dotenv/config'], globals: { 'ts-jest': { tsconfig: 'tsconfig.json', useESM: true, }, }, };