epiphany/node_modules/@ronilaukkarinen/stylelint-a11y/jest.config.js
2023-12-09 22:48:07 -08:00

20 lines
485 B
JavaScript

module.exports = {
preset: 'jest-preset-stylelint',
clearMocks: true,
collectCoverage: false,
collectCoverageFrom: ['src/**/*.js'],
coverageDirectory: './.coverage/',
coverageReporters: ['lcov', 'text'],
coverageThreshold: {
global: {
branches: 75,
functions: 75,
line: 75,
statements: 75,
},
},
setupFiles: ['./jest.setup.js'],
testEnvironment: 'node',
roots: ['src'],
testRegex: '.*\\.test\\.js$|src/.*/__tests__/.*\\.js$',
};