UNPKG

self-serve-integration-service

Version:

Self-Serve Integration Service for managing multiple funder integrations including REST APIs, SOAP APIs, and UI automation

43 lines (42 loc) 967 B
module.exports = { preset: 'ts-jest', testEnvironment: 'node', roots: ['<rootDir>/src'], testMatch: [ '**/__tests__/**/*.+(ts|tsx|js)', '**/*.(test|spec).+(ts|tsx|js)' ], testPathIgnorePatterns: [ '/node_modules/', '/__mocks__/' ], transform: { '^.+\\.(ts|tsx)$': 'ts-jest', }, collectCoverageFrom: [ 'src/**/*.{ts,tsx}', '!src/**/*.d.ts', '!src/index.ts', '!src/**/__tests__/**', '!src/**/*.test.{ts,tsx}', '!src/**/*.spec.{ts,tsx}' ], coverageDirectory: 'coverage', coverageReporters: ['text', 'lcov', 'html'], coverageThreshold: { global: { branches: 70, functions: 70, lines: 70, statements: 70 } }, setupFilesAfterEnv: ['<rootDir>/src/__tests__/__mocks__/setup.ts'], testTimeout: 10000, verbose: true, clearMocks: true, restoreMocks: true, moduleNameMapper: { '^@/(.*)$': '<rootDir>/src/$1' } };