Skip to content

Commit

Permalink
chore: coverage update
Browse files Browse the repository at this point in the history
  • Loading branch information
work-kevin-flynn committed Nov 19, 2024
1 parent b39a379 commit e3800a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 deletions.
8 changes: 3 additions & 5 deletions packages/react/coverage/coverage-summary.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{"total": {"lines":{"total":56,"covered":45,"skipped":0,"pct":80.35},"statements":{"total":58,"covered":46,"skipped":0,"pct":79.31},"functions":{"total":16,"covered":11,"skipped":0,"pct":68.75},"branches":{"total":22,"covered":18,"skipped":0,"pct":81.81},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}}
,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/react/src/context.tsx": {"lines":{"total":12,"covered":10,"skipped":0,"pct":83.33},"functions":{"total":3,"covered":2,"skipped":0,"pct":66.66},"statements":{"total":12,"covered":10,"skipped":0,"pct":83.33},"branches":{"total":6,"covered":5,"skipped":0,"pct":83.33}}
,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/react/src/init.ts": {"lines":{"total":18,"covered":16,"skipped":0,"pct":88.88},"functions":{"total":4,"covered":3,"skipped":0,"pct":75},"statements":{"total":18,"covered":16,"skipped":0,"pct":88.88},"branches":{"total":10,"covered":8,"skipped":0,"pct":80}}
,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/react/src/useConnectWallet.tsx": {"lines":{"total":18,"covered":11,"skipped":0,"pct":61.11},"functions":{"total":4,"covered":2,"skipped":0,"pct":50},"statements":{"total":18,"covered":11,"skipped":0,"pct":61.11},"branches":{"total":6,"covered":5,"skipped":0,"pct":83.33}}
,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/react/src/useExternalStore.tsx": {"lines":{"total":8,"covered":8,"skipped":0,"pct":100},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":10,"covered":9,"skipped":0,"pct":90},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
{"total": {"lines":{"total":26,"covered":24,"skipped":0,"pct":92.3},"statements":{"total":29,"covered":26,"skipped":0,"pct":89.65},"functions":{"total":8,"covered":6,"skipped":0,"pct":75},"branches":{"total":4,"covered":3,"skipped":0,"pct":75},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}}
,"/workspaces/aelf-web-login/packages/react/src/context.tsx": {"lines":{"total":15,"covered":13,"skipped":0,"pct":86.66},"functions":{"total":3,"covered":2,"skipped":0,"pct":66.66},"statements":{"total":16,"covered":14,"skipped":0,"pct":87.5},"branches":{"total":4,"covered":3,"skipped":0,"pct":75}}
,"/workspaces/aelf-web-login/packages/react/src/useExternalStore.tsx": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":13,"covered":12,"skipped":0,"pct":92.3},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
}
24 changes: 6 additions & 18 deletions packages/react/jest-report.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<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="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>
<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>
<testcase classname="init should call initBridge with the given options" name="init should call initBridge with the given options" time="0.002">
<testsuites name="jest tests" tests="3" failures="0" errors="0" time="331.62">
<testsuite name="useExternalStore" errors="0" failures="0" skipped="0" timestamp="2024-11-19T13:05:59" time="318.769" tests="1">
<testcase classname="useExternalStore should render hook" name="useExternalStore should render hook" time="0.015">
</testcase>
</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">
<testsuite name="WebLoginProvider" errors="0" failures="0" skipped="0" timestamp="2024-11-19T13:11:18" time="1.366" tests="2">
<testcase classname="WebLoginProvider should render children with provided bridgeAPI" name="WebLoginProvider should render children with provided bridgeAPI" time="0.017">
</testcase>
</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 classname="WebLoginProvider should return null if no bridgeAPI is provided" name="WebLoginProvider should return null if no bridgeAPI is provided" time="0.002">
</testcase>
</testsuite>
</testsuites>

0 comments on commit e3800a0

Please sign in to comment.