Skip to content

Commit

Permalink
Merge pull request #237 from anza-xyz/jest-module-mapper
Browse files Browse the repository at this point in the history
Add moduleNameMapper to Jest config
  • Loading branch information
mcintyre94 authored Jun 4, 2024
2 parents d947eca + 739189b commit 0495b42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
moduleNameMapper: {
'^(\\./.+|\\../.+).js$': '$1',
},
};

0 comments on commit 0495b42

Please sign in to comment.