JJ Kasper 2022-02-03 14:46:06 -06:00 committed by GitHub
parent 740f908aa4
commit ce9c6b79f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -478,9 +478,8 @@ function runTests({
})
it('should automatically detect image type when content-type is octet-stream', async () => {
const url =
'https://image-optimization-test.vercel.app/png-as-octet-stream'
const resOrig = await fetch(url)
const url = '/png-as-octet-stream'
const resOrig = await fetchViaHTTP(appPort, url)
expect(resOrig.status).toBe(200)
expect(resOrig.headers.get('Content-Type')).toBe(
'application/octet-stream'