UNPKG

durabull

Version:

A durable workflow engine built on top of BullMQ and Redis

26 lines (25 loc) 668 B
module.exports = { preset: 'ts-jest', testEnvironment: 'node', roots: ['<rootDir>/src', '<rootDir>/tests'], testMatch: ['**/__tests__/**/*.ts', '**/?(*.)+(spec|test).ts'], testPathIgnorePatterns: ['/node_modules/', '/tests/integration/'], collectCoverageFrom: [ 'src/**/*.ts', '!src/**/*.test.ts', '!src/**/__tests__/**' ], moduleFileExtensions: ['ts', 'js', 'json'], moduleNameMapper: { '^@/(.*)$': '<rootDir>/src/$1', }, setupFiles: ['<rootDir>/tests/setupEnv.ts'], transform: { '^.+\\.ts$': ['ts-jest', { tsconfig: { esModuleInterop: true, allowSyntheticDefaultImports: true, } }] }, };