nodejs/undici

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

Open

#251 opened on 2020年7月11日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (444 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (5,319 stars)
PR merge metrics
 (平均マージ 2d 10h) (30d で 82 merged PRs)

説明

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.

コントリビューターガイド