Closed peterphanouvong closed 2 months ago
The updates reintroduce the refreshTokens
function in the getKindeSession
function, ensuring that token refresh operations and the associated cookie headers are included in the session output. Additionally, test cases have been modified for clarity and expanded to cover the new behavior of the refreshTokens
method, improving test coverage without altering existing functionality.
File | Change Summary |
---|---|
src/get-kinde-session.js |
Reintroduced the refreshTokens function; updated the return object of getKindeSession to include headers . |
tests/utils.test.ts |
Modified an expected output string in a test case to include a comma for clarity. |
tests/get-kinde-session.test.ts |
Streamlined whitespace in assertions; added tests for refreshTokens method to validate behavior. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 85.71429%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 95.97%. Comparing base (
09faa79
) to head (0fa5015
).
Files | Patch % | Lines |
---|---|---|
src/get-kinde-session.js | 85.71% | 1 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Explain your changes
Checklist
🛟 If you need help, consider asking for advice over in the Kinde community.