Skip to content

Commit

Permalink
fixup! Turbopack: Allow client components to be imported in app routes
Browse files Browse the repository at this point in the history
  • Loading branch information
wbinnssmith committed Apr 15, 2024
1 parent ad25e9b commit f2a73f9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ describe('referencing a client component in an app route', () => {

it('responds without error', async () => {
expect(JSON.parse(await next.render('/runtime'))).toEqual({
// Turbopack's proxy components are functions
clientComponent: process.env.TURBOPACK ? 'function' : 'object',
})
})
Expand Down

0 comments on commit f2a73f9

Please sign in to comment.