Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannes Bornö committed Jan 12, 2023
1 parent f7b5cc0 commit d355b32
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/development/acceptance-app/server-components.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,13 +331,13 @@ createNextDescribe(
.waitForElementByCss('#nextjs__container_errors_desc')
.text()
).toContain(
'This might be caused by a React Class component being rendered in a server component'
'This might be caused by a React Class Component being rendered in a Server Component'
)
return 'success'
}, 'success')

expect(next.cliOutput).toContain(
'This might be caused by a React Class component being rendered in a server component'
'This might be caused by a React Class Component being rendered in a Server Component'
)

await cleanup()
Expand Down Expand Up @@ -384,13 +384,13 @@ createNextDescribe(
.waitForElementByCss('#nextjs__container_errors_desc')
.text()
).toContain(
'This might be caused by a React Class component being rendered in a server component'
'This might be caused by a React Class Component being rendered in a Server Component'
)
return 'success'
}, 'success')

expect(next.cliOutput).toContain(
'This might be caused by a React Class component being rendered in a server component'
'This might be caused by a React Class Component being rendered in a Server Component'
)

await cleanup()
Expand Down Expand Up @@ -437,13 +437,13 @@ createNextDescribe(
.waitForElementByCss('#nextjs__container_errors_desc')
.text()
).toContain(
'This might be caused by a React Class component being rendered in a server component'
'This might be caused by a React Class Component being rendered in a Server Component'
)
return 'success'
}, 'success')

expect(next.cliOutput).toContain(
'This might be caused by a React Class component being rendered in a server component'
'This might be caused by a React Class Component being rendered in a Server Component'
)

await cleanup()
Expand Down

0 comments on commit d355b32

Please sign in to comment.