Skip to content

Commit

Permalink
chore: jest moduleMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
work-kevin-flynn committed Nov 19, 2024
1 parent 6a3aee7 commit a0ffc17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ const config: Config = {
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'],

// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
// moduleNameMapper: {},
moduleNameMapper: {
'@aelf-web-login/wallet-adapter-(.*)$': '<rootDir>/../$1',
},

// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
// modulePathIgnorePatterns: [],
Expand Down

0 comments on commit a0ffc17

Please sign in to comment.