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

How do I make tests in next.js apps? #1434

Closed
renatorib opened this issue Mar 15, 2017 · 3 comments
Closed

How do I make tests in next.js apps? #1434

renatorib opened this issue Mar 15, 2017 · 3 comments

Comments

@renatorib
Copy link

renatorib commented Mar 15, 2017

Since next uses webpack under the hood, I can't integrate jest, ava, etc. because my files are written in babel syntax without explicity transpiling (webpack will transpile)
Has anyone done tests on an app using next?

I wonder know how it was done.

@sergiodxa
Copy link
Contributor

In the examples folder there is one with Jest
https://github.com/zeit/next.js/tree/master/examples/with-jest

@renatorib
Copy link
Author

renatorib commented Mar 15, 2017

Lol, I searched as "with-test" and "test" in examples and found nothing.
Thanks. I'll take a look.

PS: fastest issue reply I ever seen

@timneutkens
Copy link
Member

@renatorib we have a slack integration in a slack channel with 2200 people 😅 Feel free to join https://zeit.chat/

@lock lock bot locked as resolved and limited conversation to collaborators May 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants