Skip to content

Commit

Permalink
fix: enable transformers test unit
Browse files Browse the repository at this point in the history
  • Loading branch information
AlasDiablo committed Aug 26, 2024
1 parent 4b6bc44 commit c3553bd
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,42 @@ module.exports = {
],
testTimeout: 8000,
},
{
displayName: 'ezsTansformers',
rootDir: `${__dirname}/packages/transformers`,
modulePaths: ['<rootDir>/packages/transformers/node_modules'],
moduleDirectories: [
`<rootDir>/packages/transformers/node_modules`,
'node_modules',
],
moduleNameMapper: {},
testMatch: [
'**/test?(s)/**/*.[jt]s?(x)',
'**/__tests__/**/*.[jt]s?(x)',
'**/?(*.)+(spec|test).[tj]s?(x)',
],
testEnvironment: 'node',
testPathIgnorePatterns: [
'/node_modules/',
'locals.js',
'testOne.js',
'testAll.js',
'/data/',
],
collectCoverage: true,
coveragePathIgnorePatterns: [
'/node_modules/',
'/test/',
'/lib/',
'/lodex/src/reducers/',
],
coverageReporters: ['lcov', 'text-summary'],
preset: '@shelf/jest-mongodb',
transformIgnorePatterns: [
'<rootDir>/node_modules/',
'/node_modules/(?!quick-lru)',
],
testTimeout: 8000,
},
],
};

0 comments on commit c3553bd

Please sign in to comment.