nodejs/undici

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

Open

#251 建立於 2020年7月11日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (5,319 star) (444 fork)batch import
enhancementgood first issue

描述

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.

貢獻者指南