1
0
Fork 0
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:
Chaim Lev-Ari 2023-08-27 13:30:45 +03:00 committed by GitHub
parent 2953848b9a
commit 531f88b947
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 25 additions and 11 deletions

View file

@ -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',