Man... I don´t understand... Why are you with only 34k subscribers? Your channel is one of the best when we talk about programming. Keep doing your job as you do. Congrats man! 💪🏽
HeyJason! I watched your video and it is awesome . Now i am using the Vitest in my project but I am getting this error : ( Not implemented: window.computedStyle(elt, pseudoElt) at module.exports (C:\Users\Faizan\Desktop\full-stack ode_modules\jsdom\lib\jsdom\browser ot-implemented.js:9:17) )
Hello! May i ask you a question? How can we write unit tests in Nuxt 3 application? I tried '@nuxt/test-utils', 'vitest', Vue testing library, 'nuxt-vitest' and something else (I don't remember everything I tried to use as spent so much time to figure out in that). I could write test to test simple calculating functions and that was all. No ability to get DOM element, to simulate user event, to check if some function was invoked, to check state updates - nothing really valuable tests could be written. Could anybody please advise me where to find the solution? Thank you!
Hey man the way you do this pair programming podcast is really !! Nice . It would be nice if I had also get same set of font styles you show in these podcasts can you please help to get it to my vscode 😅 tried googling but doesn’t work !!
Wow .. main panel on right side .. interesting idea :O Why I did not try it ever before? It's possibly better. I Always hated how the navigation shifting my code, constantly playing with width, switching it on/off etc. Thx :)
You need to clear out the mock before or after each test. There are a few way to do so. I think something like this might work: ```afterEach(() => { vi.clearAllMocks(); vi.resetAllMocks(); });```
Anthony Fu has been a huge blessing to the Vue community. Thanks Jason for having him on.
Man... I don´t understand... Why are you with only 34k subscribers? Your channel is one of the best when we talk about programming. Keep doing your job as you do. Congrats man! 💪🏽
Anthony Fu! THE LEGEND himself! Thank you Jason
it was such a pleasure having Anthony on the show 💜
thanks for your video, it's wonderful!
Excellent discussion!
Awesome collaboration.
Great intro guys. Thanks.
Wow hahah so they started out with a name. Damn! Another exciting episode Jason
proving that domain-name driven development DOES work! 💀
Very good presentation
I've got a old Gatsby project at work that uses Jest snapshots and this makes it look practically ancient!
This comment made me stop second guessing my choice to use vitest instead of jest. 🙏
Anthony the legend
💯
HeyJason!
I watched your video and it is awesome . Now i am using the Vitest in my project but I am getting this error :
( Not implemented: window.computedStyle(elt, pseudoElt)
at module.exports (C:\Users\Faizan\Desktop\full-stack
ode_modules\jsdom\lib\jsdom\browser
ot-implemented.js:9:17) )
The man The legend
Hello!
May i ask you a question?
How can we write unit tests in Nuxt 3 application? I tried '@nuxt/test-utils', 'vitest', Vue testing library, 'nuxt-vitest' and something else (I don't remember everything I tried to use as spent so much time to figure out in that).
I could write test to test simple calculating functions and that was all.
No ability to get DOM element, to simulate user event, to check if some function was invoked, to check state updates - nothing really valuable tests could be written.
Could anybody please advise me where to find the solution?
Thank you!
It works which doesn't have any problem.
Perhaps, do did it the wrong way.
Very cool episode! Vite ecosystem is so good that I might start looking at using Vue instead of React.
what's the name of the extension you're using to kind of 'translate' the error and simple terms like at 49:29? Thanks for the video!
this is Matt Pocock’s Total TypeScript extension: www.totaltypescript.com/vscode-extension
@@learnwithjason thank you!
HI, Jason, what browser are you using? I'm dying to know!
Arc!
Hey man the way you do this pair programming podcast is really !! Nice . It would be nice if I had also get same set of font styles you show in these podcasts can you please help to get it to my vscode 😅 tried googling but doesn’t work !!
thanks! I use the Night Owl theme in VS Code with Operator Mono as my font
Function testing is already fast enough. I expect to see React testing here cause it is really slow with testing library 😥
Wow .. main panel on right side .. interesting idea :O Why I did not try it ever before?
It's possibly better. I Always hated how the navigation shifting my code, constantly playing with width, switching it on/off etc.
Thx :)
yeah, I wanted to hate it at first but it really feels better for me
Amazing Jason
Thank you!
OMG !!!
You need to clear out the mock before or after each test. There are a few way to do so. I think something like this might work:
```afterEach(() => {
vi.clearAllMocks();
vi.resetAllMocks();
});```
Amazing video, really nice to work with vitest instead of jest, lovely DX.
% @vitest/coverage-v8 does not work on Stackblitz. Report will be empty.