Skip to content

Commit

Permalink
Add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed May 18, 2023
1 parent 731aa99 commit a64c653
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/e2e/app-dir/app-static/app-static.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,12 @@ createNextDescribe(

return 'success'
}, 'success')

if (!isNextDeploy) {
expect(next.cliOutput).toContain(
'Warning: fetch for https://next-data-api-endpoint.vercel.app/api/random?d4 on /force-cache specified "cache: force-cache" and "revalidate: 3", only one should be specified.'
)
}
})

it('should cache correctly for cache: no-store', async () => {
Expand Down

0 comments on commit a64c653

Please sign in to comment.