/** * Wave 0 stub — Auth: upsertUser color round-robin + identity stability * * These tests are RED stubs. Implementation lives in: * apps/api/src/auth/user.ts (Plan 02) * * Tests will be filled GREEN in Plan 02 when upsertUser is implemented. */ import { describe, it } from 'vitest' describe('upsertUser', () => { it.todo('assigns a color from the palette on first login (Plan 02)') it.todo('returns the same color on subsequent logins for the same oidc identity (Plan 02)') it.todo('assigns distinct colors to two different users (Plan 02)') it.todo('uses oidc_iss + oidc_sub as the composite identity key, not email (Plan 02)') it.todo('returns the full user row including id, color, displayName (Plan 02)') })