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 (444 Forks)batch import
enhancementgood first issue

Repository-Metriken

Stars
 (5.319 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 2T 10h) (82 gemergte PRs in 30 T)

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