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

supabase / gotrue / 7084955091
65%

Build:
DEFAULT BRANCH: master
Ran 04 Dec 2023 10:07AM UTC
Jobs 1
Files 114
Run time 8s
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

04 Dec 2023 10:03AM UTC coverage: 65.244%. Remained the same
7084955091

push

github

web-flow
refactor: reduce amount of test setup code in mfa tests (#1333)

## What kind of change does this PR introduce?

Primary goal of this refactor is to reduce number of calls to
`generateAccessToken` to ease refactoring of `generateAccessToken`. This
PR centralizes a few commonly used functions/objects:

- `generateAccessToken`
- `models.User`
- It also directly accesses `models.Factors` on `ts.TestUser` instead of
fetching it from the DB via `models.FindFactorsByUserID`

Tests with multiple cases were left untouched as they have interleaving
interactions in some cases

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>

7886 of 12087 relevant lines covered (65.24%)

54.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7084955091.1 04 Dec 2023 10:07AM UTC 0
65.24
GitHub Action Run
Source Files on build 7084955091
Detailed source file information is not available for this build.
  • Back to Repo
  • d405ffd1 on github
  • Prev Build on master (#7082482693)
  • Next Build on master (#7085291497)
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