diff --git a/test/integration/image-optimizer/app/public/png-as-octet-stream b/test/integration/image-optimizer/app/public/png-as-octet-stream new file mode 100644 index 0000000000000..e14fafc5cf3bc Binary files /dev/null and b/test/integration/image-optimizer/app/public/png-as-octet-stream differ diff --git a/test/integration/image-optimizer/test/index.test.js b/test/integration/image-optimizer/test/index.test.js index 2446330e528e5..5bd360511b22c 100644 --- a/test/integration/image-optimizer/test/index.test.js +++ b/test/integration/image-optimizer/test/index.test.js @@ -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'