2
0
mirror of https://github.com/lowdefy/lowdefy.git synced 2025-04-24 16:00:53 +08:00

chore(docs): Fix jest coverage config.

This commit is contained in:
SamTolmay 2021-02-03 14:39:58 +02:00
parent f37213c2f9
commit 9c8c223e15

@ -1,11 +1,19 @@
module.exports = {
clearMocks: true,
collectCoverage: true,
collectCoverageFrom: ['src/**/*.js'],
collectCoverageFrom: ['**/*.js'],
coverageDirectory: 'coverage',
coveragePathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/test/'],
coveragePathIgnorePatterns: [
'<rootDir>/.lowdefy/',
'<rootDir>/jest.config.js',
'<rootDir>/coverage/',
],
coverageReporters: [['lcov', { projectRoot: '../..' }], 'text', 'clover'],
errorOnDeprecated: true,
testEnvironment: 'node',
testPathIgnorePatterns: ['<rootDir>/dist/'],
testPathIgnorePatterns: [
'<rootDir>/.lowdefy/',
'<rootDir>/jest.config.js',
'<rootDir>/coverage/',
],
};