Thanks to azat-io to provide support for #Vitest #React #ReactHooks #JSXA11y and #TestingLibrary 🚀
All available now in v1.20.0
https://github.com/Shinigami92/eslint-define-config/releases/tag/1.20.0
#testinglibrary #jsxa11y #reacthooks #react #Vitest
Another release of @fast-check/vitest has been issued yesterday. It patches `it.only.prop`, `it.fails.prop` and any other deep `.prop` usages to leverage all the variations offered in normal #vitest
🥳 Just released @fast-check/vitest to simplify integration of fast-check with @vitest and make usage of #PropertyBasedTesting even simpler in #vitest 🥰
#NPM package available at: https://www.npmjs.com/package/@fast-check/vitest
If you're interested into pushing such integration further, join the discussion opened on vitest side: https://github.com/vitest-dev/vitest/discussions/2212
#propertybasedtesting #Vitest #npm
🆕 Test-Driven Development with Vitest - Last week's livestream lesson from @nystudio107
broken up into multiple videos for easy learning!
https://buff.ly/3J7lWGK #tdd #typescript #vitest #vitejs #vuejs #craftcms
#tdd #typescript #Vitest #Vitejs #vuejs #craftcms
Does anyone have experience with testing out the performance impact of a #Jest to #Vitest migration? After hearing about Vitest being significantly slower, I’m trying to gauge how to tell if we’ll run into that trouble before migrating the entire, complicated test suite over
#Vitest is pretty cool but wtf is up with the module mocking? Every time I want to mock something used in a Vue component I have to do some module reset shuffling and whatnot. Someone please have a solution for this, I cannot find anything useful after hours of searching...
#vitest UI view is the bee's knees 😻
(also my 2nd time trying to upload image here)
Nothing is more satisfying than ending the day with all unit tests passing.
#Vitest #vitejs #typescript #programming
Does anyone using #Vitest or #Jest know how to I get expect(something).to.equal(somethingElse) to play well with #TypeScript? That is, have TypeScript fail if the types don't lign up?
#typescript & #vitejs is a very enjoyable combination. Bonus points for #vitest
I just converted a small #chess library I wrote a while ago and it was a very smooth process. Looking forward to open-source it!
#typescript #Vitejs #Vitest #chess
Finally!
Figured out how to #test a #Vue3 app with #Vitest and #TestUtils:
Wrapping it in a defineComponent containing Suspense wrapped around in the template.
And flushPromises if it fetches data from an API during its async setup.
Just as described in the advanced section of the docs…
The task at hand requires me to push to a private GitHub repo. But it doesn't say I can't push publicly to my public Gitea.
Hit me up if I shall share.
#test #vue3 #Vitest #TestUtils
The test runner vitest from vite supports in-source testing. This means you don't write an additional test file but actually write the tests inside your sourcecode and those will be removed from the production build. Pretty fancy actually.
#vite #Vitest #javascript #webdev
Vitest - A blazing fast unit-test framework powered by Vite ⚡️ https://vitest.dev/ #Dev #Test #Vite #JavaScript #Vitest by @vitest_dev@twitter.com
#dev #test #vite #javascript #Vitest