stuff
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user