39% but error

This commit is contained in:
2024-10-19 10:57:44 +03:00
parent 5f386c0f4e
commit 79289457c9
6 changed files with 11 additions and 6 deletions
+1
View File
@@ -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'],
};