How to test a simple route like blog/:slug ? #12703
Unanswered
sarthaksavvy
asked this question in
Help
Replies: 3 comments
-
Asked this a couple of hours back but didn't get a response. Following this for interest. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am not sure if you can do it with Jest, but you can test the everything together using Cypress, since it will test the app like an user in the browser: https://www.cypress.io |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've written a short post on how I test next apps, it may be helpful. Let me know if you have any questions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a simple nextjs app where I need to write tests to validate that blog/:slug will work on both client-side and on the server side
I am using jest for testing
Beta Was this translation helpful? Give feedback.
All reactions