Skip to content
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

Fix test failures in parallel execution and add REFRESH_AES_KEY for token encryption #62

Merged
merged 7 commits into from
Feb 13, 2025

Conversation

kimitrii
Copy link
Owner

Changes Made

This PR introduces a new environment variable, REFRESH_AES_KEY, which will be used to encrypt Refresh Tokens. Additionally, it updates the Vitest configuration by setting singleWorker to true, ensuring that all tests run within a single process. This change resolves test failures that occurred when running in parallel across multiple workers.

Furthermore, the Hono and vitest-pool-workers packages have been updated to their latest versions.

Changes Type

  • Config
  • bug fix

Checklist:

  • The changes do not generate new error logs or warnings.
  • I have added tests that prove the fix or new feature works as expected.
  • Both new and existing tests pass locally.

@kimitrii kimitrii added the bug Something isn't working label Feb 13, 2025
@kimitrii kimitrii merged commit ed8026f into main Feb 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant