Skip to content

test(clerk): add Vitest unit tests for clerk plugin (fixes #71) - #329

Open
GabrielHFGoncalez wants to merge 1 commit into
outerbase:mainfrom
GabrielHFGoncalez:feature/clerk-unit-tests
Open

GabrielHFGoncalez wants to merge 1 commit into
outerbase:mainfrom
GabrielHFGoncalez:feature/clerk-unit-tests

Conversation

@GabrielHFGoncalez

Copy link
Copy Markdown

🧪 Vitest Unit Test Suite for plugins/clerk

Contributes to #71 by providing complete unit test coverage for the Clerk authentication plugin plugins/clerk.

📦 Test Coverage

  • Options Validation: Tests initialization with secretKey and publishableKey.
  • Default Fallbacks: Verifies instantiation when constructor arguments are omitted.
  • Registration: Asserts middleware and webhook hooks register against the Starbase application context.

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.

1 participant