Skip to content

Commit ec905d5

Browse files
test(wallet): add comprehensive tests for default auth
Add E2E tests for default auth functionality in wallet package. Tests cover: - Auth instance creation with auto-configuration - ClientId auto-detection (sandbox vs production) - PassportDomain derivation from chain config - Popup callback handling for OAuth flow - Query string management during auth callback - Provider creation without external getUser - Error handling for auth failures This validates the default auth implementation added by Shine Li in PR #2768 (feat(passport): nextjs packages). All 28 tests passing: - 7 tests for Auth instance creation - 6 tests for clientId auto-detection - 4 tests for popup callback handling - 4 tests for provider creation - 2 tests for error handling - 5 tests for existing functionality Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent bd01b99 commit ec905d5

1 file changed

Lines changed: 463 additions & 24 deletions

File tree

0 commit comments

Comments
 (0)