import { nextTestSetup } from 'e2e-utils' describe('referencing a client component in an app route', () => { const { next } = nextTestSetup({ files: __dirname, }) it('responds without error', async () => { expect(JSON.parse(await next.render('/runtime'))).toEqual({ clientComponent: 'function', myModuleClientComponent: 'function', }) }) })