Skip to content

Commit

Permalink
fix lodash
Browse files Browse the repository at this point in the history
  • Loading branch information
kajambiya committed Jun 20, 2024
1 parent 0e75ba2 commit ad46c21
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ const config = {
'^@carbon/charts-react$': path.resolve(__dirname, '__mocks__', '@carbon__charts-react.ts'),
'^dexie$': require.resolve('dexie'),
'^lodash-es/(.*)$': 'lodash/$1',
'^lodash-es$': 'lodash',
'^react-i18next$': path.resolve(__dirname, '__mocks__', 'react-i18next.js'),
},
testEnvironment: 'jsdom',
testPathIgnorePatterns: [
"/node_modules/",
"/e2e/" // Ignore the e2e directory containing Playwright tests
]
'/node_modules/',
'/e2e/', // Ignore the e2e directory containing Playwright tests
],
};

module.exports = config;

0 comments on commit ad46c21

Please sign in to comment.