aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-20 06:34:13 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-20 06:34:13 -0700
commit735f4b5c38c96f0a5b64f9221f03e4821815ea17 (patch)
tree3c7588dfcae81ee80b99c763cc396be98319700d
parent2509613bbe11df78811f2fa6f29a2b7ee437d75c (diff)
downloadbun-jarred/uws.tar.gz
bun-jarred/uws.tar.zst
bun-jarred/uws.zip
Update fetch.test.jsjarred/uws
-rw-r--r--integration/bunjs-only-snippets/fetch.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration/bunjs-only-snippets/fetch.test.js b/integration/bunjs-only-snippets/fetch.test.js
index 2f976fd83..018527287 100644
--- a/integration/bunjs-only-snippets/fetch.test.js
+++ b/integration/bunjs-only-snippets/fetch.test.js
@@ -310,7 +310,7 @@ describe("Response", () => {
"content-type": "potato",
"x-hello": "world",
},
- statusCode: 408,
+ status: 408,
});
expect(response.headers.get("content-type")).toBe(
"application/json;charset=utf-8"
@@ -341,7 +341,7 @@ describe("Response", () => {
"x-hello": "world",
Location: "https://wrong.com",
},
- statusCode: 408,
+ status: 408,
});
expect(response.headers.get("x-hello")).toBe("world");
expect(response.headers.get("Location")).toBe("https://example.com");