Skip to content

Commit d029976

Browse files
committed
chore: update cypress test to match old ttl for revalidate api
1 parent a197783 commit d029976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress/integration/default/dynamic-routes.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('Static Routing', () => {
1717
it('renders correct page via ODB on a static route', () => {
1818
cy.request({ url: '/getStaticProps/with-revalidate/', headers: { 'x-nf-debug-logging': '1' } }).then((res) => {
1919
expect(res.status).to.eq(200)
20-
expect(res.headers).to.have.property('x-nf-render-mode', 'odb ttl=300')
20+
expect(res.headers).to.have.property('x-nf-render-mode', 'odb ttl=60')
2121
expect(res.body).to.contain('Dancing with the Stars')
2222
})
2323
})

0 commit comments

Comments
 (0)