nodejs/undici

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

Open

#251 geöffnet am 11. Juli 2020

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (5.319 Stars) (444 Forks)batch import
enhancementgood first issue

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