UNPKG

component-dbs-core

Version:

DTO objects shared among device backend

38 lines (37 loc) 786 B
module.exports = { roots: ['<rootDir>/src'], testMatch: [ '**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)', ], coveragePathIgnorePatterns: [ "index.ts" ], transform: { '^.+\\.(ts|tsx)$': 'ts-jest', }, testTimeout: 5000, testResultsProcessor: 'jest-sonar-reporter', collectCoverage: true, collectCoverageFrom: ['**/*.{ts,js}', '!**/node_modules/**'], coverageDirectory: 'dist', coverageReporters: ['lcov'], coverageThreshold: { global: { functions: 90, lines: 90, statements: 90, branches: 90 }, }, reporters: [ 'default', [ './node_modules/jest-html-reporter', { pageTitle: 'Test Report', 'outputPath': 'dist/test-report.html' }, ], ], };