Skip to content

Commit da228a9

Browse files
author
valentinab25
committed
test: jest should look for addons in node_modules Refs #253277
1 parent b4f3492 commit da228a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest-addon.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
'@package/(.*)$': '<rootDir>/src/$1',
1313
'@root/(.*)$': '<rootDir>/src/$1',
1414
'@plone/volto-quanta/(.*)$': '<rootDir>/src/addons/volto-quanta/src/$1',
15-
'@eeacms/(.*?)/(.*)$': '<rootDir>/src/addons/$1/src/$2',
15+
'@eeacms/(.*?)/(.*)$': '<rootDir>/node_modules/@eeacms/$1/src/$2',
1616
'@plone/volto-slate':
1717
'<rootDir>/node_modules/@plone/volto/packages/volto-slate/src',
1818
'~/(.*)$': '<rootDir>/src/$1',

0 commit comments

Comments
 (0)