Commit 76b5fadc authored by Tim Neutkens's avatar Tim Neutkens

Update build-output-prerender.test.ts

parent e9386a6e
...@@ -26,7 +26,8 @@ describe('build-output-prerender', () => { ...@@ -26,7 +26,8 @@ describe('build-output-prerender', () => {
`) `)
} else { } else {
expect(getPreambleOutput(next.cliOutput)).toMatchInlineSnapshot(` expect(getPreambleOutput(next.cliOutput)).toMatchInlineSnapshot(`
"▲ Next.js x.y.z (webpack, Cache Components) "▲ Next.js x.y.z (webpack)
- Cache Components enabled
- Experiments (use with caution): - Experiments (use with caution):
✓ reactDebugChannel (enabled by \`__NEXT_EXPERIMENTAL_DEBUG_CHANNEL\`)" ✓ reactDebugChannel (enabled by \`__NEXT_EXPERIMENTAL_DEBUG_CHANNEL\`)"
`) `)
...@@ -124,7 +125,8 @@ describe('build-output-prerender', () => { ...@@ -124,7 +125,8 @@ describe('build-output-prerender', () => {
} else { } else {
expect(getPreambleOutput(next.cliOutput)).toMatchInlineSnapshot(` expect(getPreambleOutput(next.cliOutput)).toMatchInlineSnapshot(`
"⚠ Prerendering is running in debug mode. Note: This may affect performance and should not be used for production. "⚠ Prerendering is running in debug mode. Note: This may affect performance and should not be used for production.
▲ Next.js x.y.z (webpack, Cache Components) ▲ Next.js x.y.z (webpack)
- Cache Components enabled
- Experiments (use with caution): - Experiments (use with caution):
⨯ prerenderEarlyExit (disabled by \`--debug-prerender\`) ⨯ prerenderEarlyExit (disabled by \`--debug-prerender\`)
✓ reactDebugChannel (enabled by \`__NEXT_EXPERIMENTAL_DEBUG_CHANNEL\`) ✓ reactDebugChannel (enabled by \`__NEXT_EXPERIMENTAL_DEBUG_CHANNEL\`)
...@@ -270,7 +272,8 @@ describe('build-output-prerender', () => { ...@@ -270,7 +272,8 @@ describe('build-output-prerender', () => {
`) `)
} else { } else {
expect(getPreambleOutput(next.cliOutput)).toMatchInlineSnapshot(` expect(getPreambleOutput(next.cliOutput)).toMatchInlineSnapshot(`
"▲ Next.js x.y.z (webpack, Cache Components) "▲ Next.js x.y.z (webpack)
- Cache Components enabled
- Experiments (use with caution): - Experiments (use with caution):
✓ reactDebugChannel (enabled by \`__NEXT_EXPERIMENTAL_DEBUG_CHANNEL\`)" ✓ reactDebugChannel (enabled by \`__NEXT_EXPERIMENTAL_DEBUG_CHANNEL\`)"
`) `)
...@@ -335,7 +338,8 @@ describe('build-output-prerender', () => { ...@@ -335,7 +338,8 @@ describe('build-output-prerender', () => {
} else { } else {
expect(getPreambleOutput(next.cliOutput)).toMatchInlineSnapshot(` expect(getPreambleOutput(next.cliOutput)).toMatchInlineSnapshot(`
"⚠ Prerendering is running in debug mode. Note: This may affect performance and should not be used for production. "⚠ Prerendering is running in debug mode. Note: This may affect performance and should not be used for production.
▲ Next.js x.y.z (webpack, Cache Components) ▲ Next.js x.y.z (webpack)
- Cache Components enabled
- Experiments (use with caution): - Experiments (use with caution):
⨯ prerenderEarlyExit (disabled by \`--debug-prerender\`) ⨯ prerenderEarlyExit (disabled by \`--debug-prerender\`)
✓ reactDebugChannel (enabled by \`__NEXT_EXPERIMENTAL_DEBUG_CHANNEL\`) ✓ reactDebugChannel (enabled by \`__NEXT_EXPERIMENTAL_DEBUG_CHANNEL\`)
......
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