Skip to content

Commit eceb410

Browse files
committed
revert
1 parent e43f2eb commit eceb410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/development/acceptance/server-component-compiler-errors-in-pages.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ describe('Error Overlay for server components compiler errors in pages', () => {
101101
expect(next.normalizeTestDirContent(await session.getRedboxSource()))
102102
.toMatchInlineSnapshot(`
103103
"./components/Comp.js
104-
./pages/index.js
105104
Error:
106105
x You're importing a component that needs server-only. That only works in a Server Component which is not supported in the pages/ directory. Read more: https://nextjs.org/docs/getting-started/
107106
| react-essentials#server-components
@@ -117,6 +116,7 @@ describe('Error Overlay for server components compiler errors in pages', () => {
117116
118117
Import trace for requested module:
119118
./components/Comp.js
119+
./pages/index.js"
120120
`)
121121

122122
await cleanup()

0 commit comments

Comments
 (0)