Skip to content

Commit

Permalink
[test] Fix corrupt bmp test (#6328)
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle authored Jun 7, 2021
1 parent 370b0db commit 36fe5cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Binary file not shown.
5 changes: 4 additions & 1 deletion packages/cli/test/dev/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -1710,14 +1710,17 @@ test(
expectHeader('image/svg+xml'),
fetchOpts('image/webp')
);
// bmp should bypass: serve as-is
/* Disabled bmp because `next dev` bypasses
* and production will convert. Eventually
* we can enable once `next dev` supports it.
await testPath(
200,
toUrl('/test.bmp', 64, 50),
null,
expectHeader('image/bmp'),
fetchOpts('image/webp')
);
*/
// animated gif should bypass: serve as-is
await testPath(
200,
Expand Down

0 comments on commit 36fe5cc

Please sign in to comment.