Skip to content

Update tests for getAccessToken refresh flow #2068

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 25, 2025

Conversation

tusharpandey13
Copy link
Contributor

@tusharpandey13 tusharpandey13 commented Apr 25, 2025

This PR updates the test for the flow getAccessToken({ refresh: true })

@codecov-commenter
Copy link

codecov-commenter commented Apr 25, 2025

Codecov Report

Attention: Patch coverage is 0% with 149 lines in your changes missing coverage. Please review.

Project coverage is 75.08%. Comparing base (f1eb46d) to head (5ac4166).

Files with missing lines Patch % Lines
src/server/get-access-token.test.ts.ts 0.00% 148 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2068      +/-   ##
==========================================
- Coverage   82.68%   75.08%   -7.61%     
==========================================
  Files          21       22       +1     
  Lines        1958     2107     +149     
  Branches      347      331      -16     
==========================================
- Hits         1619     1582      -37     
- Misses        333      517     +184     
- Partials        6        8       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tusharpandey13 tusharpandey13 changed the title bugfix/force refresh test bugfix: Update tests for getAccessToken refresh flow Apr 25, 2025
@tusharpandey13 tusharpandey13 changed the title bugfix: Update tests for getAccessToken refresh flow Update tests for getAccessToken refresh flow Apr 25, 2025
@tusharpandey13 tusharpandey13 merged commit 14ec845 into main Apr 25, 2025
12 checks passed
@tusharpandey13 tusharpandey13 deleted the bugfix/force-refresh-test branch April 25, 2025 14:15
@tusharpandey13 tusharpandey13 mentioned this pull request Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants