Skip to content

Commit fb7dbc4

Browse files
committed
Fixes test
Add upstream max-age to optimized image vercel/next.js#26739
1 parent 0623b2a commit fb7dbc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/image-optimizer.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ describe('unit', () => {
216216
expect(headers['content-type']).toBe(fixtureResponse['content-type']);
217217
expect(headers['etag']).toBeDefined();
218218
expect(headers['cache-control']).toBe(
219-
'public, max-age=0, must-revalidate'
219+
'public, max-age=123456, must-revalidate'
220220
);
221221

222222
const optimizerPrefix = `external_accept_webp_w-${optimizerParams.w}_q-${optimizerParams.q}_`;

0 commit comments

Comments
 (0)