• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-modules / 8392249624
100%
master: 85%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 22 Mar 2024 04:25PM UTC
Jobs 1
Files 11
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Mar 2024 02:57PM UTC coverage: 81.507% (-18.5%) from 100.0%
8392249624

push

github

web-flow
`WebAuthnLib` tests (#301)

The PR was initially created to fix #287; however,
https://github.com/safe-global/safe-modules/pull/320 heavily refactored
the WebAuthn flow, and the PR is now adjusted to test the corresponding
library from the #320 PR.

Changes in this PR:
- Add unit tests for the `WebAuthnLib` contract.

Tests covered:
- Return `false` when flags don't match.
- Return `true` when the verifier returns `true`
- Returns `false` when the verifier returns `false`
- Check that the signing message is correctly generated

The tests use the mock contract.

---------

Co-authored-by: Mikhail Mikheev <16622558+mmv08@users.noreply.github.com>
Co-authored-by: Nicholas Rodrigues Lordello <nick@safe.global>

25 of 44 branches covered (56.82%)

Branch coverage included in aggregate %.

94 of 102 relevant lines covered (92.16%)

4.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8392249624.1 22 Mar 2024 04:25PM UTC 0
81.51
GitHub Action Run
Source Files on build 8392249624
Detailed source file information is not available for this build.
  • Back to Repo
  • 62e8f27a on github
  • Prev Build on main (#8388486326)
  • Next Build on main (#8393417595)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc