| Current Path : /var/node/inatote/Inatote-Backend/node_modules/snyk-python-plugin/ |
| Current File : /var/node/inatote/Inatote-Backend/node_modules/snyk-python-plugin/jest.config.js |
module.exports = {
verbose: true,
preset: 'ts-jest',
testEnvironment: 'node',
collectCoverage: false, // Run yarn test:coverage to generate coverage reports
collectCoverageFrom: ['lib/**/*.ts'],
coverageReporters: ['html', 'text-summary'],
coverageDirectory: '<rootDir>/reports/coverage',
testMatch: ['**/*.spec.ts'], // Remove when all tests are using Jest
modulePathIgnorePatterns: ['<rootDir>/dist', '<rootDir/reports>'],
setupFilesAfterEnv: ['<rootDir>/test/matchers/setup.ts'],
reporters: [
'default',
[
'jest-junit',
{
outputDirectory: '<rootDir>/reports/jest',
},
],
],
};