nodejs/undici

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

Open

#251 ouverte le 11 juil. 2020

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)JavaScript (5 319 stars) (444 forks)batch import
enhancementgood first issue

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.

Guide contributeur