Skip to content

Commit

Permalink
test: jest should look for addons in node_modules Refs #253277
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinab25 committed Jun 9, 2023
1 parent b4f3492 commit da228a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest-addon.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
'@package/(.*)$': '<rootDir>/src/$1',
'@root/(.*)$': '<rootDir>/src/$1',
'@plone/volto-quanta/(.*)$': '<rootDir>/src/addons/volto-quanta/src/$1',
'@eeacms/(.*?)/(.*)$': '<rootDir>/src/addons/$1/src/$2',
'@eeacms/(.*?)/(.*)$': '<rootDir>/node_modules/@eeacms/$1/src/$2',
'@plone/volto-slate':
'<rootDir>/node_modules/@plone/volto/packages/volto-slate/src',
'~/(.*)$': '<rootDir>/src/$1',
Expand Down

0 comments on commit da228a9

Please sign in to comment.