From 735f4b5c38c96f0a5b64f9221f03e4821815ea17 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sun, 20 Mar 2022 06:34:13 -0700 Subject: Update fetch.test.js --- integration/bunjs-only-snippets/fetch.test.js | 4 ++-- 1 file 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"); -- cgit v1.2.3