Skip to content

Commit 4dcb1c1

Browse files
authored
fix(jest): map ts paths (#2529 by @frankcalise)
1 parent bdf55ea commit 4dcb1c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

boilerplate/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ module.exports = {
1111
testPathIgnorePatterns: ["<rootDir>/node_modules/", "<rootDir>/.maestro/", "@react-native"],
1212
testEnvironment: "jsdom",
1313
setupFiles: ["<rootDir>/test/setup.ts"],
14+
moduleNameMapper: { "^app/(.*)$": "<rootDir>/app/$1", "^assets/(.*)$": "<rootDir>/assets/$1" },
1415
}

0 commit comments

Comments
 (0)