nodejs/undici

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

Offen

#251 geöffnet am 11.07.2020

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (444 Forks)batch import
enhancementgood first issue

Repository-Metriken

Stars
 (5.319 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide