Skip to content

Commit 3289bb1

Browse files
committed
test: updated broken image test to HTTP 200
1 parent 6da578a commit 3289bb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress/integration/default/images.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('next/images', () => {
2929

3030
it('should show throw if an image is not on the domains or remotePatterns allowlist', () => {
3131
cy.request('/broken-image').then((response) => {
32-
expect(response.status).to.eq(500)
32+
expect(response.status).to.eq(200)
3333
expect(response.body).to.include(
3434
'hostname "broken-domain" is not configured under images in your `next.config.js`',
3535
)

0 commit comments

Comments
 (0)