nodejs/undici
View on GitHubImprove tests with more checks for unexpected `'disconnect'`
Open
#251 opened on Jul 11, 2020
enhancementgood first issue
Repository metrics
- Stars
- (5,319 stars)
- PR merge metrics
- (Avg merge 2d 10h) (82 merged PRs in 30d)
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.