nodejs/undici

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

Open

Aperta il 11 lug 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (5319 star) (444 fork)batch import
enhancementgood first issue

Descrizione

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.

Guida contributor