UNPKG

spec-link

Version:

A library for managing test specifications and integrations with test management tools

20 lines (17 loc) 490 B
import type { Config } from '@jest/types'; const config: Config.InitialOptions = { preset: 'ts-jest', testEnvironment: 'node', roots: ['<rootDir>/src'], testMatch: ['**/__tests__/**/*.ts', '**/?(*.)+(spec|test).ts'], moduleFileExtensions: ['ts', 'js', 'json', 'node'], collectCoverage: true, coverageDirectory: 'coverage', coveragePathIgnorePatterns: ['/node_modules/'], globals: { 'ts-jest': { tsconfig: 'tsconfig.json', }, }, }; export default config;