UNPKG

@orchestrator-ui/jest-config

Version:

Contains the jest configuration used in the Workflow orchestrator frontend projects

15 lines (14 loc) 456 B
module.exports = { resetMocks: true, coveragePathIgnorePatterns: [], collectCoverageFrom: ['<rootDir>/src/**/*.{js,ts,tsx}'], coverageThreshold: null, testEnvironment: 'jsdom', transform: { '^.+\\.tsx?$': 'babel-jest', '^.+\\.jsx?$': 'babel-jest', }, setupFilesAfterEnv: ['@testing-library/jest-dom'], moduleDirectories: ['node_modules'], moduleFileExtensions: ['js', 'jsx', 'json', 'ts', 'tsx'], };