Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospaciari committed Apr 12, 2024
1 parent 72ff909 commit 904b2ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/js/node/http/node-http.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,7 @@ it("#10177 response.write with non-ascii latin1 should not cause duplicated char
const expected = "á" + "-".repeat(254) + "x";
const server = require("http")
.createServer((_, response) => {
response.write("á" + "-".repeat(254) + "x");
response.write(expected);
response.write("");
response.end();
})
Expand All @@ -1773,7 +1773,7 @@ it("#10177 response.write with non-ascii latin1 should not cause duplicated char
expect(result).toBe(expected);
}
} finally {
server.close();
server.closeAllConnections();
Bun.gc(true);
}
});
Expand Down

0 comments on commit 904b2ec

Please sign in to comment.