nodejs/undici

Improve tests with more checks for unexpected `'disconnect'`

Open

#251 aberto em 11 de jul. de 2020

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (444 forks)batch import
enhancementgood first issue

Métricas do repositório

Stars
 (5.319 stars)
Métricas de merge de PR
 (Mesclagem média 2d 10h) (82 fundiu PRs em 30d)

Description

Some of our tests might emit disconnect, reconnect and then pass even though a disconnect was not expected.

Add more assertions (t.fail()) to catch this if it happens.

Guia do colaborador