Hi Dave, I've just started watching your web dev tutorials. Does your playlist named "full course programming " follows a specific sequence that aligns with web dev roadmap? Thanks for all the valuable content you provide! 👏
@@DaveGrayTeachesCode so I can't use a real api for testing? I can't put it to the handlers? So we simulate a fetching? In test I use real fetch and it works but it says "Warning: captured a request without a matching request handler" - if i use real api in handler it is breaking the test.
@@yuliasereda5671 I promise you- if you don't understand what's happening in this code or WHY you're doing it, then you can just stop worrying about writing tests for now. Keep working on development and general JS skills first.
Excellent!. Thank you so much Dave on this testing tutorial.
Mah man on 208k subs??? You're growing too fast man you deserve all! last time i view your vids you're just on 70k subs.
263k!
and he deserve many many many times more
Exactly this type of content but with Vitest. Great work and thank you
Here you are again... Another topic I discovered and another one you already covered.... thanks a lot
Hey Dave
please explain about edge and node runtime in NextJs
and please teach us NestJs.
thank you
I learned so much from you.
brilliant explanation!
Hi Programmers. In folder ./lib fetch request's ( await fetch("/todos")). For working app need to use Route Handlers. Did I understand correctly?
Hi I am using next js 13 app deployed on amplify aws but it gives me html chunks code after some time please tell me any solution.
Unfortunately, msw doesn't support request, carrying FormData and binary payload ...
when i run test i get err - TextEncoder is not defined
Only works for client fetch with msw
Hi Dave, I've just started watching your web dev tutorials.
Does your playlist named "full course programming " follows a specific sequence that aligns with web dev roadmap? Thanks for all the valuable content you provide! 👏
Yes, and you can follow my Web Dev Roadmap at the link in the description of this video.
Yay! My my my! 🙌
Hi Dave 👋 How many more videos we can expect to complete this playlist? Approximately!!!
I may give it a break for a bit and then come back with React & Vite and/or E2E with Cypress.
@@DaveGrayTeachesCode that's a great news Dave ❤️ . We are so excited.
@@DaveGrayTeachesCode Are you going to recreate full react playlist?
thx
Huh. msw 2.0 has been released
at 10:32 you created a fetch. If I use fetch to real api should I create this fetch as fake or it should be request to real url?
We are creating _mocks_ here for testing. You do this to eliminate outside dependencies.
@@DaveGrayTeachesCode so I can't use a real api for testing? I can't put it to the handlers?
So we simulate a fetching? In test I use real fetch and it works but it says "Warning: captured a request without a matching request handler" - if i use real api in handler it is breaking the test.
@@yuliasereda5671 I promise you- if you don't understand what's happening in this code or WHY you're doing it, then you can just stop worrying about writing tests for now. Keep working on development and general JS skills first.
@@sgtduckduck I understood almost everything, but I have never wrote tests before
Are you planning to do a video about cypress?
Sometime in the future yes.
the best!
Can I do this also with react?
Yes.
Okay, thanks for all you do Sir.
atlast 😅😅
BUT NOT AT LEAST
Asin .....its like I have been waiting for years 😁😁