Unverified Commit d5d76054 authored by Niklas Mischkulnig's avatar Niklas Mischkulnig Committed by GitHub

Fix deployment test due to data-dpl-id attribute (#88846)

parent 1bdb2e20
......@@ -28,9 +28,9 @@ describe('favicon-short-circuit', () => {
expect(res.status).toBe(404)
expect(res.headers.get('content-type')).toBe('text/html; charset=utf-8')
// Expect we got the right body.
// Expect we got HTML as text (with a non-empty body unlike in dev) and also not binary data
const html = await res.text()
expect(html).toContain('<html>')
expect(html).toContain('<html')
})
}
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment