39% but error
This commit is contained in:
@@ -20,6 +20,7 @@ const config: Config = {
|
||||
moduleNameMapper: {
|
||||
"^@/src/(.*)$": "<rootDir>/src/$1", // Map '@/src' to the 'src' folder
|
||||
"^src/(.*)$": "<rootDir>/src/$1", // Map 'src' to the 'src' folder
|
||||
"\\.(svg|png|jpg|jpeg|gif)$": "<rootDir>/__mocks__/fileMock.js", // Add this line
|
||||
},
|
||||
moduleFileExtensions: [...defaults.moduleFileExtensions, 'ts', 'tsx', 'js', 'jsx'],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user