Fix missing {port: 0} causing flaky test

This commit is contained in:
Ashcon Partovi
2023-10-17 21:23:13 -07:00
committed by GitHub
parent dcbcf9803a
commit 49ef5bccec

View File

@@ -138,6 +138,8 @@ test("uploads roundtrip with sendfile()", async () => {
require("fs").writeFileSync(path, hugeTxt);
const server = Bun.serve({
port: 0,
development: false,
maxRequestBodySize: 1024 * 1024 * 1024 * 8,
async fetch(req) {
var count = 0;