Testing a Nuxt.js app #9681
Unanswered
adamchipperfield
asked this question in
Questions (Nuxt 2)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's the best practice, or common practice, for testing a production Nuxt.js app?
Here's my set up at a very high level:
I'm a slight noob at testing, but I understand the different types (i.e. unit vs e2e). How do people generally set up tests for apps like this? I've had people tell me to double down on unit tests because e2e can become stale when page content varies so much across products, for example.
I added that we have a cart Vuex state above. Is there some way to also test states?
Would be great to get general best/common practices as well as any tools. I'm currently looking at Jest with @nuxt/test-utils.
Beta Was this translation helpful? Give feedback.
All reactions