mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 07:33:17 +00:00
chore: add comment to jest-preset.front
This commit is contained in:
parent
7ff0df5e7b
commit
2a991605a2
@ -6,6 +6,11 @@ const moduleNameMapper = {
|
||||
'.*\\.(css|less|styl|scss|sass)$': '@strapi/admin-test-utils/file-mock',
|
||||
'.*\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$':
|
||||
'@strapi/admin-test-utils/file-mock',
|
||||
/**
|
||||
* we're mapping the following packages to the monorepos node_modules
|
||||
* so if you link a package e.g. `design-system` the correct dependencies
|
||||
* are used and the tests run correctly.
|
||||
**/
|
||||
'^react$': path.join(__dirname, 'node_modules/react'),
|
||||
'^react-dom$': path.join(__dirname, 'node_modules/react-dom'),
|
||||
'^react-router-dom$': path.join(__dirname, 'node_modules/react-router-dom'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user