Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: add section on App Router testing #50334

Closed
DonikaV opened this issue May 25, 2023 · 4 comments
Closed

Docs: add section on App Router testing #50334

DonikaV opened this issue May 25, 2023 · 4 comments
Labels
Documentation Related to Next.js' official documentation. locked

Comments

@DonikaV
Copy link

DonikaV commented May 25, 2023

What is the improvement or update you wish to see?

All official examples are outdated
https://github.com/vercel/next.js/tree/canary/examples/with-jest
I am trying to find any example of next 13 app folder and tests setup.

Is there any context that might help us understand?

When i try run tests from this example repo
https://github.com/vercel/next.js/tree/canary/examples/with-jest
I am getting many errors about metadata, or about Context Providers and etc.

@DonikaV DonikaV added the Documentation Related to Next.js' official documentation. label May 25, 2023
@balazsorban44
Copy link
Member

Thanks for the feedback! We are working on a recommendation in this regard.

Related issues are #47448 and #47299

We will get back when we have more information! 🙏

@balazsorban44 balazsorban44 changed the title Docs: There is any docs for Next 13 and app folder with Jest? Docs: add section on App Router testing Jun 26, 2023
@leerob
Copy link
Member

leerob commented Sep 4, 2023

#47448 (comment)

@leerob
Copy link
Member

leerob commented Jan 13, 2024

https://nextjs.org/docs/app/building-your-application/testing

@leerob leerob closed this as completed Jan 13, 2024
Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Related to Next.js' official documentation. locked
Projects
None yet
Development

No branches or pull requests

3 participants