docs(02-jest): fixes failing test in the tutorial (#61272)
### 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 <sam@vercel.com>
Showing
Please
register
or
sign in
to comment