diff --git a/packages/react/jest.config.ts b/packages/react/jest.config.ts index 6447800..54a4cc8 100644 --- a/packages/react/jest.config.ts +++ b/packages/react/jest.config.ts @@ -76,7 +76,7 @@ const config: Config = { // 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: { - '@aelf-web-login/wallet-adapter-(.*)$': '/../$1', + '@aelf-web-login/wallet-adapter-(.+)$': '/../$1', }, // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader