This commit is contained in:
Dorian
2026-04-11 19:46:37 +01:00
parent 52752a92bf
commit 32e6c19f72
44 changed files with 5511 additions and 39 deletions
@@ -38,7 +38,7 @@ describe('BUG-2: SSE uses challenge timeout, not hardcoded', () => {
const { promise } = waitForHumanResponse(fightId, 'bot1', factualChallenge, 1)
let resolved = false
promise.then(() => { resolved = true })
void promise.then(() => { resolved = true })
// At 14s, should NOT have timed out yet
vi.advanceTimersByTime(14_000)
@@ -58,7 +58,7 @@ describe('BUG-2: SSE uses challenge timeout, not hardcoded', () => {
const { promise } = waitForHumanResponse(fightId, 'bot2', quickChallenge, 1)
let resolved = false
promise.then(() => { resolved = true })
void promise.then(() => { resolved = true })
// At 9s, should NOT have timed out yet
vi.advanceTimersByTime(9_000)