Skip to content

Commit d569696

Browse files
committed
test: fix expected redirect status
1 parent cbf47e5 commit d569696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/edge-handler.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ for (const {
216216

217217
expect(await response.text()).toBe('')
218218

219-
expect(response.status).toBe(307)
219+
expect(response.status).toBe(302)
220220
expect(response.headers.get('location')).toBe('http://example.com/redirected')
221221
expect(response.headers.get('x-runtime')).toEqual(expectedRuntime)
222222
})

0 commit comments

Comments
 (0)