Skip to content

Commit

Permalink
chore: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
work-kevin-flynn committed Nov 19, 2024
1 parent 95e74dd commit 89b3574
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
26 changes: 13 additions & 13 deletions packages/react/jest-report.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="jest tests" tests="7" failures="0" errors="0" time="13.606">
<testsuite name="WebLoginProvider" errors="0" failures="0" skipped="0" timestamp="2024-11-19T10:08:46" time="10.853" tests="2">
<testcase classname="WebLoginProvider should render children with provided bridgeAPI" name="WebLoginProvider should render children with provided bridgeAPI" time="0.015">
<testsuites name="jest tests" tests="7" failures="0" errors="0" time="1.604">
<testsuite name="WebLoginProvider" errors="0" failures="0" skipped="0" timestamp="2024-11-19T10:10:17" time="0.555" tests="2">
<testcase classname="WebLoginProvider should render children with provided bridgeAPI" name="WebLoginProvider should render children with provided bridgeAPI" time="0.013">
</testcase>
<testcase classname="WebLoginProvider should return null if no bridgeAPI is provided" name="WebLoginProvider should return null if no bridgeAPI is provided" time="0.001">
</testcase>
</testsuite>
<testsuite name="useExternalStore" errors="0" failures="0" skipped="0" timestamp="2024-11-19T10:08:56" time="0.331" tests="1">
<testcase classname="useExternalStore should render hook" name="useExternalStore should render hook" time="0.006">
<testsuite name="init" errors="0" failures="0" skipped="0" timestamp="2024-11-19T10:10:17" time="0.165" tests="3">
<testcase classname="init should initialize VConsole if showVconsole is true" name="init should initialize VConsole if showVconsole is true" time="0.052">
</testcase>
</testsuite>
<testsuite name="useConnectWallet" errors="0" failures="0" skipped="0" timestamp="2024-11-19T10:08:57" time="0.527" tests="1">
<testcase classname="useConnectWallet should render hook" name="useConnectWallet should render hook" time="0.007">
<testcase classname="init should not initialize VConsole if showVconsole is false" name="init should not initialize VConsole if showVconsole is false" time="0.001">
</testcase>
</testsuite>
<testsuite name="init" errors="0" failures="0" skipped="0" timestamp="2024-11-19T10:08:57" time="1.064" tests="3">
<testcase classname="init should initialize VConsole if showVconsole is true" name="init should initialize VConsole if showVconsole is true" time="0.813">
<testcase classname="init should call initBridge with the given options" name="init should call initBridge with the given options" time="0.002">
</testcase>
<testcase classname="init should not initialize VConsole if showVconsole is false" name="init should not initialize VConsole if showVconsole is false" time="0.002">
</testsuite>
<testsuite name="useConnectWallet" errors="0" failures="0" skipped="0" timestamp="2024-11-19T10:10:17" time="0.174" tests="1">
<testcase classname="useConnectWallet should render hook" name="useConnectWallet should render hook" time="0.006">
</testcase>
<testcase classname="init should call initBridge with the given options" name="init should call initBridge with the given options" time="0.001">
</testsuite>
<testsuite name="useExternalStore" errors="0" failures="0" skipped="0" timestamp="2024-11-19T10:10:18" time="0.162" tests="1">
<testcase classname="useExternalStore should render hook" name="useExternalStore should render hook" time="0.006">
</testcase>
</testsuite>
</testsuites>
3 changes: 1 addition & 2 deletions packages/react/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89b3574

Please sign in to comment.