Skip to content

Commit

Permalink
remove invalid config options in jest base config
Browse files Browse the repository at this point in the history
  • Loading branch information
sotojn committed Dec 11, 2024
1 parent 4de182f commit 2fd7036
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,9 @@ export default (projectDir) => {
rootDir = '../../';
}

const coverageReporters = ['lcov', 'html'];
if (!isCI) {
coverageReporters.push('text-summary');
}
const config = {
rootDir,
displayName: name,
verbose: true,
testEnvironment: 'node',
setupFilesAfterEnv: ['jest-extended/all'],
testMatch: [`${packageRoot}/test/**/*-spec.{ts,js}`, `${packageRoot}/test/*-spec.{ts,js}`],
Expand All @@ -54,14 +49,10 @@ export default (projectDir) => {
},
moduleFileExtensions: ['ts', 'js', 'json', 'node', 'pegjs', 'mjs'],
extensionsToTreatAsEsm: ['.ts'],
collectCoverage: true,
coveragePathIgnorePatterns: ['/node_modules/', '/test/'],
watchPathIgnorePatterns: [],
coverageReporters,
coverageDirectory: `${packageRoot}/coverage`,
watchPlugins: ['jest-watch-typeahead/filename', 'jest-watch-typeahead/testname'],
workerIdleMemoryLimit: '200MB',
testTimeout: 60 * 1000,
globals: {
availableExtensions: ['.js', '.ts', '.mjs', 'cjs'],
},
Expand Down

0 comments on commit 2fd7036

Please sign in to comment.