Re-activate disabled `"use cache"` deploy tests

parent ed5d085f
...@@ -13,16 +13,12 @@ const GENERIC_RSC_ERROR = ...@@ -13,16 +13,12 @@ const GENERIC_RSC_ERROR =
'An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.' 'An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.'
describe('use-cache', () => { describe('use-cache', () => {
const { next, isNextDev, isNextDeploy, isNextStart, skipped } = nextTestSetup( const { next, isNextDev, isNextDeploy, isNextStart } = nextTestSetup({
{ files: __dirname,
files: __dirname, env: {
skipDeployment: true, NEXT_PRIVATE_DEBUG_CACHE: '1',
} },
) })
if (skipped) {
return
}
it('should cache results', async () => { it('should cache results', async () => {
const browser = await next.browser(`/?n=1`) const browser = await next.browser(`/?n=1`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment