From 0f9e17b86f7a20879032eaa46eaa1c0a367034ce Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Tue, 19 Nov 2024 17:18:43 +0800 Subject: [PATCH] chore: jest moduleMapper --- packages/react/jest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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