Skip to content

Commit 4f37abd

Browse files
committed
fixup! remove extra writeHead
1 parent 0256c4e commit 4f37abd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/unit/node/update.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ describe("update", () => {
3131
}
3232

3333
if (request.url === "/no-location-header") {
34-
response.writeHead(301)
3534
response.writeHead(301, "testing", {
3635
location: "",
3736
})
@@ -47,7 +46,6 @@ describe("update", () => {
4746
}
4847

4948
if (request.url === "/with-location-header") {
50-
response.writeHead(301)
5149
response.writeHead(301, "testing", {
5250
location: "/location-redirect",
5351
})

0 commit comments

Comments
 (0)