Skip to content

Commit cd87b04

Browse files
test: fix leak
1 parent 03ff249 commit cd87b04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/server/http2-option.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ describe('"http2" option', () => {
6262
});
6363
http2Req.on("end", () => {
6464
expect(data).toEqual(expect.stringMatching(/Heyo/));
65+
client.close();
6566
done();
6667
});
6768
http2Req.end();

0 commit comments

Comments
 (0)