some progress

This commit is contained in:
2024-10-19 10:48:21 +03:00
parent 33c8f863a1
commit 5f386c0f4e
6 changed files with 128 additions and 0 deletions
+4
View File
@@ -17,6 +17,10 @@ const config: Config = {
// transform: {
// '^.+\\.(ts|tsx|js|jsx)$': 'babel-jest',
// },
moduleNameMapper: {
"^@/src/(.*)$": "<rootDir>/src/$1", // Map '@/src' to the 'src' folder
"^src/(.*)$": "<rootDir>/src/$1", // Map 'src' to the 'src' folder
},
moduleFileExtensions: [...defaults.moduleFileExtensions, 'ts', 'tsx', 'js', 'jsx'],
};