window.supabase.createClient), real storage I/O, real browser High-Resolution Timers (performance.now()).
Executes real async storage reads through a serial mutual-exclusion lock queue (_acquireLock). Watch how each component blocks until previous components finish.
Calls the actual built supabase.auth.getSession() function from supabase.js. Single-flights in-flight storage reads and returns cached session.
await client.auth.getSession() calls simultaneously on the actual compiled SDK.
await client.auth.getSession() calls with empty storage.
Click "Run 100 Calls (Real SDK Fast-Path)" above to inspect the live session payload returned by the SDK...
Executes actual client operations against the built library to verify tamper resistance and cache eviction.
| Test Case | What It Tests & Why It Matters | Status & Verification |
|---|---|---|
| 1. Immutability / Caller Tampering | Mutates session.user.email in consumer code; asserts SDK internal cache remains isolated via deepClone. |
READY |
| 2. Empty Storage Cold-Start | 50 components mount when logged out; asserts session: null resolves in <1ms. |
READY |
| 3. SignOut Cache Eviction | Calls real client.auth.signOut() and asserts memory cache and storage are purged. |
READY |
| 4. 1,000 Concurrent Hammer Test | Fires 1,000 real parallel calls to client.auth.getSession(). |
READY |
| 5. Multi-Tab Broadcast Sync | Verifies multi-tab state changes invalidate in-memory cache across browser tabs via BroadcastChannel. |
READY |