Skip to content

Commit

Permalink
update(jest): add @plone/volto-slate resolver refs- #153447
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Aug 23, 2022
1 parent 08e8c3d commit 50ab9a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jest-addon.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
],
globals: {
window: {},
"__DEV__": true
__DEV__: true,
},
moduleNameMapper: {
'@plone/volto/cypress': '<rootDir>/node_modules/@plone/volto/cypress',
Expand All @@ -18,7 +18,8 @@ module.exports = {
'@root/(.*)$': '<rootDir>/src/$1',
'@plone/volto-quanta/(.*)$': '<rootDir>/src/addons/volto-quanta/src/$1',
'@eeacms/(.*?)/(.*)$': '<rootDir>/src/addons/$1/src/$2',
'volto-slate/(.*)$': '<rootDir>/src/addons/volto-slate/src/$1',
'@plone/volto-slate':
'<rootDir>/node_modules/@plone/volto/packages/volto-slate/src',
'~/(.*)$': '<rootDir>/src/$1',
'load-volto-addons':
'<rootDir>/node_modules/@plone/volto/jest-addons-loader.js',
Expand Down

0 comments on commit 50ab9a0

Please sign in to comment.