@@ -133,6 +138,15 @@ if (!(globalThis as any).isNextDev) {
...
@@ -133,6 +138,15 @@ if (!(globalThis as any).isNextDev) {
`You're importing a component that needs server-only. That only works in a Server Component but one of its parents is marked with "use client", so it's a Client Component.`
`You're importing a component that needs server-only. That only works in a Server Component but one of its parents is marked with "use client", so it's a Client Component.`
)
)
})
})
it('should error for invalid undefined module retuning from next dynamic',async()=>{