Replies: 2 comments
-
The line from the changelog simply means that Vitest major versions 1 and 2 are not supported, but Vitest 3 is and will be.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for this clarification @TheAlexLichter 😄 |
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.
-
Hey!
I’m wondering what is the philosophy of
@nuxt/test-utils
library for the future.I’m developping Vue applications, and I’m using Nuxt for several features (mainly plugins and middlewares).
I’ve recently dig the testing approaches and libraries for a Vue and Nuxt application.
It appeared that:
Then, you can use specific libraries, such as @vue/test-utils to mount components in the testing environment, and Playwright for E2E testing.
mountSuspended()
andregisterEndpoint()
for now), to use with Vitest:So I understood that @nuxt/test-utils is in a way built on top of Vitest, or at least that it needs it to be functional. I guess there is a lot of work to be done to create such a library and make it compatible with features from another library, and I really thank the team working on it. I have a question though: What is
@nuxt/test-utils
philosophy for time to come?I’ve recently rode in @nuxt/test-utils v3.16.0 release changelog that the next major (realease) will:
For me it seems like contradictory information, and I need to understand better how both Vitest and @nuxt/test-utils aim to evolve in the future: side by side or separately. I need to understand it better to make long term choices on my current projects, and maybe share my knowledge on it with other devs I can work with.
Maybe there are already information on it somewhere else (that I’ve haven’t found)?
Thank you for you reading time, and for your help and clarifications :)
Beta Was this translation helpful? Give feedback.
All reactions