Skip to content

Commit

Permalink
update new test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh committed Aug 21, 2024
1 parent ee47e8b commit e3a806c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/cli-before-frameworks-api-support.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('should serve 404 page when requesting non existing page (no matching route
expect(await page.textContent('h1')).toBe('404')

expect(headers['netlify-cdn-cache-control']).toBe(
'no-cache, no-store, max-age=0, must-revalidate',
'no-cache, no-store, max-age=0, must-revalidate, durable',
)
expect(headers['cache-control']).toBe('no-cache,no-store,max-age=0,must-revalidate')

Expand Down

0 comments on commit e3a806c

Please sign in to comment.