mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? This PR fixes the example test provided on [Setting up Jest with Next.js: Creating your first test:](https://nextjs.org/docs/app/building-your-application/testing/jest#creating-your-first-test) not passing due to Jest not being compatible with async Server Components. ### Why? Although it's noted at the start of the tutorial that async Server Components aren't currently supported by Jest, the example test failing might confuse the reader. ### How? This PR makes the example test pass by removing async from the `<Home>` component Co-authored-by: Sam Ko <[email protected]>