Fix flaky auth test
~/acme-web
▣ dev-vm
⎇ main
working
➜ acme-web claude "fix the flaky auth test"
✳ Analyzing test suite…
⏺ Read src/auth/session.test.ts
⏺ The test races the token refresh — pinning the clock:
- await sleep(50)
+ jest.useFakeTimers({ now: T0 })
⏺ Bash: pnpm jest src/auth
Tests: 41 passed, 41 total · 3.2s
alexacme-web%