Skip to content

Commit ddf75be

Browse files
fix: close all connections to prevent server timeout
1 parent c9fb464 commit ddf75be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/httpServer.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ tap.test("'/bundle/:name' should return an error if it fails", async(tape) => {
134134
});
135135

136136
tap.test("teardown", (tape) => {
137+
httpServer.server.closeAllConnections();
137138
httpServer.server.close(() => {
138-
tape.end();
139139
tap.endAll();
140140
});
141141
});

0 commit comments

Comments
 (0)