mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
chore(tests): clean tests output [EE-5758] (#9215)
This commit is contained in:
parent
2953848b9a
commit
531f88b947
11 changed files with 25 additions and 11 deletions
|
@ -83,7 +83,7 @@ module.exports = {
|
|||
// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
|
||||
moduleNameMapper: {
|
||||
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/app/__mocks__/fileMock.js',
|
||||
'\\.svg\\?c$': '<rootDir>/app/__mocks__/svg.js',
|
||||
'\\.svg\\?c$': '<rootDir>/app/__mocks__/svg.tsx',
|
||||
'\\.(css|less)$': '<rootDir>/app/__mocks__/styleMock.js',
|
||||
'^@@/(.*)$': '<rootDir>/app/react/components/$1',
|
||||
'^@/(.*)$': '<rootDir>/app/$1',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue