Commit Graph
2 Commits
Author SHA1 Message Date
Steven Enamakel 3b9fd2e446 Refactor OAuth provider tests for consistency and readability
- Updated test files for Discord, GitHub, Google, and Twitter to improve code consistency by standardizing async function formatting and import statements.
- Enhanced readability by restructuring promise resolutions and waitFor assertions.
- Ensured uniformity in the handling of button click events across all OAuth provider tests.
2026-03-30 07:47:53 -07:00
M3gA-Mind b2edcb7b62 Add OAuth provider tests for Discord, GitHub, Google, and Twitter
- Implemented comprehensive unit tests for OAuthProviderButton across multiple providers: Discord, GitHub, Google, and Twitter.
- Covered rendering, OAuth flow in both web and Tauri environments, loading states, and error handling.
- Ensured consistent styling and behavior for each provider's button, including label, icon, and disabled states.
- Enhanced test coverage for backend URL retrieval and interaction with the OAuth flow.
2026-03-30 19:38:12 +05:30