From 89b3574715daa48e35b946ddb59e5a93c53d0f12 Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Tue, 19 Nov 2024 18:11:21 +0800 Subject: [PATCH] chore: fix CI --- packages/react/jest-report.xml | 26 +++++++++++++------------- packages/react/jest.config.ts | 3 +-- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/packages/react/jest-report.xml b/packages/react/jest-report.xml index fb60a87..993b316 100644 --- a/packages/react/jest-report.xml +++ b/packages/react/jest-report.xml @@ -1,25 +1,25 @@ - - - + + + - - + + - - - + - - - + - + + + - + + + \ No newline at end of file diff --git a/packages/react/jest.config.ts b/packages/react/jest.config.ts index c3960f7..9aeae3b 100644 --- a/packages/react/jest.config.ts +++ b/packages/react/jest.config.ts @@ -77,8 +77,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-base': path.join(__dirname, '../base'), - '@aelf-web-login/wallet-adapter-bridge': path.join(__dirname, '../bridge'), + '@aelf-web-login/wallet-adapter-(.*)$': path.join(__dirname, '../$1'), }, // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader