Shini92 :ablobblewobble: · @Shini92
178 followers · 952 posts · Server mas.to
ndubien · @ndubien
60 followers · 46 posts · Server fosstodon.org

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

Last updated 2 years ago

ndubien · @ndubien
57 followers · 45 posts · Server fosstodon.org

🥳 Just released @‍fast-check/vitest to simplify integration of fast-check with @vitest and make usage of even simpler in 🥰

package available at: npmjs.com/package/@fast-check/

If you're interested into pushing such integration further, join the discussion opened on vitest side: github.com/vitest-dev/vitest/d

#propertybasedtesting #Vitest #npm

Last updated 2 years ago

CraftQuest · @craftquest_io
50 followers · 19 posts · Server mastodon.social

🆕 Test-Driven Development with Vitest - Last week's livestream lesson from @nystudio107
broken up into multiple videos for easy learning!
buff.ly/3J7lWGK

#tdd #typescript #Vitest #Vitejs #vuejs #craftcms

Last updated 2 years ago

Alex LaFroscia · @alexlafroscia
35 followers · 54 posts · Server mastodon.social

Does anyone have experience with testing out the performance impact of a to 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

#jest #Vitest

Last updated 2 years ago

Daniel 🐙 Deboer · @dandb
107 followers · 1509 posts · Server mas.to

Switching from to was also a breeze. Just search and replace the imports, update some matcher typings, add a config file and away we go.

Really nice that it duplicates the Jest API pretty thoroughly.

#Vitest #jest

Last updated 2 years ago

Christian Niklas · @websident
6 followers · 293 posts · Server indieweb.social

There will be a Vue online conference January 25 - 26, 2023: vuejsnation.com/ And it's free.

#Pinia #Vitest #vite #NuXT #vue

Last updated 2 years ago

Mobile Suit Golem · @kpopncommunism
44 followers · 213 posts · Server fosstodon.org

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 #vuejs #vite

Last updated 2 years ago

Eka · @ekafyi
7 followers · 124 posts · Server indieweb.social

UI view is the bee's knees 😻

(also my 2nd time trying to upload image here)

#Vitest

Last updated 2 years ago

Colin 🐈🌱 · @Colin
30 followers · 268 posts · Server meow.social

Nothing is more satisfying than ending the day with all unit tests passing.

#Vitest #vitejs #typescript #programming

Last updated 2 years ago

Christian Niklas · @websident
4 followers · 137 posts · Server indieweb.social

@vernaillen @markrailton I can also highly recommend !

#Vitest

Last updated 2 years ago

Bart Louwers · @bart
6 followers · 21 posts · Server floss.social

Does anyone using or know how to I get expect(something).to.equal(somethingElse) to play well with ? That is, have TypeScript fail if the types don't lign up?

#TypeScript #jest #Vitest

Last updated 2 years ago

lucapette · @lucapette
39 followers · 42 posts · Server mastodon.social

& is a very enjoyable combination. Bonus points for

I just converted a small library I wrote a while ago and it was a very smooth process. Looking forward to open-source it!

#typescript #Vitejs #Vitest #chess

Last updated 2 years ago

Ryuno-Ki · @RyunoKi
573 followers · 12542 posts · Server layer8.space

Finally!

Figured out how to a app with and :
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

Last updated 2 years ago

activenode · @activenode
40 followers · 116 posts · Server mastodon.social

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.

vitest.dev/guide/in-source.htm

#vite #Vitest #javascript #webdev

Last updated 2 years ago

The whale · @thewhalecc
284 followers · 1736 posts · Server framapiaf.org

Vitest - A blazing fast unit-test framework powered by Vite ⚡️ vitest.dev/ by @vitest_dev@twitter.com

#dev #test #vite #javascript #Vitest

Last updated 3 years ago