nodejs/undici

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

Open

#251 aperta il 11 lug 2020

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

Metriche repository

Star
 (5319 star)
Metriche merge PR
 (Merge medio 2g 10h) (82 PR mergiate in 30 g)

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