File size: 375 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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',
})
})
})
|