Vitest Simplified

preview_player
Показать описание
Vitest is a testing framework built on Vite that has some great optimizations for your Vite projects. It's a great option for testing in Vue 3!

LINKS



✅ FREE VUE 3 CHEATSHEET WITH ESSENTIAL CODE SNIPPETS

follow me on twitter:

Music by Lukrembo
Рекомендации по теме
Комментарии
Автор

Super! Best example yet I've seen for its logical simplicity to get a vitest going with the out ds box app of Vue 3. My wish: for you to do the same having specified a bunch of common use cases...e.g. 1. assuring a dialog is opened and visible based on a button clicked 2. Integration testing with a mock axios call and validating the return vslues 3. Ensuring data in a table or other el expressions 4. A simple TypeScript example instead of JS. Thanks.

kitersrefuge
Автор

Would love to know how to manage mocked data

mathnewph
Автор

Awesome, please share more content about vitest, it's amazing! God bless u

caiovinicius
Автор

Again, great stuff, way to explain how to get started with Vitest. I am glad to support @antfu, one of the maintainers of bunch of Vite plugins and one of the authors of Vitest. Great work!

milos
Автор

Amazing video 🔥. A video on Vue 3 + Graphql would really help 😊

Anonymous-xyps
Автор

the best video, just make it work a lot easier and in just 2 minutes! very happy with your video

The-Dev-Ninja
Автор

Another very interesting library! I really wanted to learn about testing in Vue. Is Jest running behind the scenes or is Vitest a totally different library?

RodrigoDAgostino
Автор

In case anyone was stumped like I was, you've gotta upgrade to Node >= v14 to use vitest

tbrew
Автор

Please give us more content "vitesting" more complex vue components

Credi
Автор

I never got a button when I installed vue/vite.

hanes
Автор

Is wallaby vscode extensión compatible Sith vitest?

damianperez
Автор

Posted a link to my stackoverflow, but it got removed, anyways.. I'm running into this error "Vitest error "TypeError: Cannot read properties of undefined (reading 'resolve')" (router.resolve)" Have you ran into that before?

LeonGaban
Автор

prob better using testing lib render vs mount

NikosKatsikanis
Автор

In addition to testing, I was curious if you knew any good tools for creating automatic documentation from your vue code? The closest I have found was JSDoc thus far, although it seems more tailored for vanilla javascript.

botable
Автор

I feel like im watching a clone of fireship

NikosKatsikanis
Автор

doesnt seem to work in vue + vuetify project. i followed the steps in this video but got "FATAL ERROR: v8::FromJust Maybe value is Nothing." error

Viezieg
Автор

Please create a complete e-commerce project with vue and vuex. Thanks for your great contribution

abdulrakib