mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
15 lines
375 B
TypeScript
15 lines
375 B
TypeScript
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',
|
|
})
|
|
})
|
|
})
|