Commit cdfc9e17 authored by Tim Neutkens's avatar Tim Neutkens

Update server-components-hmr-cache.test.ts

parent 76b5fadc
...@@ -148,6 +148,8 @@ describe('server-components-hmr-cache', () => { ...@@ -148,6 +148,8 @@ describe('server-components-hmr-cache', () => {
describe('with experimental.serverComponentsHmrCache disabled', () => { describe('with experimental.serverComponentsHmrCache disabled', () => {
beforeAll(async () => { beforeAll(async () => {
// Wait for server to be ready
await next.fetch('/404')
await next.patchFile('next.config.js', (content) => await next.patchFile('next.config.js', (content) =>
content.replace( content.replace(
'// serverComponentsHmrCache: false,', '// serverComponentsHmrCache: false,',
......
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