Skip to content

Commit c0de4a1

Browse files
committed
test: fix test to match new minimum ODB TTL logging
1 parent 0bcde8d commit c0de4a1

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=1')
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)