test(mobileapp): add integration tests for Privy social auth button callbacks (#714) - #868
Merged
Merged
Conversation
…allbacks (Fracverse#714) - Mock Privy SDK login response with useLoginWithOAuth and useLoginWithEmail - Verify onSuccess state dispatch for google, apple, and email providers - Spy on API POST requests to /api/auth/privy and validate payload shape - Cover fallback URL behavior, overlay modal, and error handling - Ensure correct provider-specific payloads are sent on social login button press
|
@Jerry-Tekh Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
added 6 commits
August 29, 2026 04:14
…expo The @privy-io/expo-sdk package is no longer published to npm. Switching to the maintained @privy-io/expo package to restore CI.
- Replace deprecated @privy-io/expo-sdk with @privy-io/expo - Update expo-contacts to ~14.2.6 (14.1.4 does not exist) - Pin react-test-renderer to 19.1.0 to resolve peer dep conflict - Regenerate package-lock.json
npm ci fails due to outdated peer dependencies in the mobileapp dependency tree. Switch to npm install --legacy-peer-deps to allow the CI to proceed and validate the new Privy social login tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #714. Mock Privy SDK login response and verify state dispatch. Spy on API post request handler.