mirror of
https://github.com/better-auth/better-auth.git
synced 2026-07-27 16:53:02 -05:00
The merge auto-combined these test files without textual conflict, but they referenced APIs next changed, so type checking failed: - mcp.test.ts drove one (skipped) confidential-client test through the removed generic-oauth client (genericOAuthClient + signIn.oauth2). It now uses signIn.social like the surrounding tests. - two-factor.security.test.ts read enrollment.totpURI directly; next's #9057 made the enable response a discriminated { method } union, so the tests now narrow on method === "totp" before reading totpURI. tsc --build is clean across the workspace. (cherry picked from commit d3cd3c2eb39f0c7209f45ff27ac4b943250b93be)