tests(e2e): fix e2e failures on Linux and Windows (#3642)

This commit is contained in:
Lucas Fernandes Nogueira
2026-09-25 13:43:07 -03:00
committed by GitHub
parent b870626a5e
commit 3a01943572
4 changed files with 23 additions and 10 deletions
@@ -73,6 +73,7 @@ describePlugin('websocket', () => {
const message = await new Promise<Message>((resolve, reject) => {
setTimeout(() => reject(new Error('headers not received')), 5000)
ws.addListener(resolve)
ws.send('headers').catch(reject)
})
await ws.disconnect()
return JSON.parse(message.data as string) as Record<string, string>