No BS TS #31 - Testing with Jest and Wallaby

  Рет қаралды 9,946

Jack Herrington

Jack Herrington

Күн бұрын

Пікірлер: 53
@Papapiishu
@Papapiishu 3 жыл бұрын
I'd love to see something about writing tests for React components
@jherr
@jherr 3 жыл бұрын
Agreed. I'll add that to the list.
@mainendra
@mainendra 3 жыл бұрын
me too
@victorlongon
@victorlongon 3 жыл бұрын
@@jherr maybe have a video with react testing library and typescript?
@ThEldeRS
@ThEldeRS 3 жыл бұрын
One of the best productivity boosters I've ever seen! LOVE your channel and this series!
@shashydass4114
@shashydass4114 3 жыл бұрын
Great video. I think the no BS TS series is essential viewing for Typescript developers. Just incredible content!
@francis_n
@francis_n 3 жыл бұрын
My company has just bought us Wallaby licenses and once you go Wallaby there is no way you can go back to the terminal. Such a productivity boster!
@jherr
@jherr 3 жыл бұрын
Big time! It's spectacular for library development in particular.
@AAquaticAApe
@AAquaticAApe 2 жыл бұрын
wow for Wallaby! thanks for sharing this awesome extension!
@babyboie20
@babyboie20 3 жыл бұрын
Thanks a million for the sort of quick start guide!
@MichaelCampbell01
@MichaelCampbell01 6 ай бұрын
Thanks, this helped a lot with a new express/typescript/jest project. And never heard about Wallaby, so that's cool too.
@Bill-cw1ei
@Bill-cw1ei 2 жыл бұрын
Wallaby is a great time saver, thanks for letting us know!
@align2source
@align2source 2 жыл бұрын
Awesome series! Love the vibe of it all, and just really great content 💚
@jackh3242
@jackh3242 3 жыл бұрын
I had to use jest/enzyme for a React project at school. Such a pain in the butt. :/ I'm looking forward to your video about testing React components!
@ryanjensen4232
@ryanjensen4232 Жыл бұрын
Awesome, thanks!
@EnLaMitad
@EnLaMitad 3 жыл бұрын
I love your channel Jack. Keep the amazing content coming.
@thefonsotube
@thefonsotube Жыл бұрын
I have no idea what you arte type in the terminal @1:40 to @3:10. What command are you entering to run ts-jest? By the way,,THANK YOU for putting all this together. Your hard work is MUCH appreciated!
@Poopuupoo
@Poopuupoo 7 ай бұрын
Pretty sure he is using the run from Run|Debug... but I can't figure out how he got those functions in the test in the first place!
@user-gm3lg8gp3m
@user-gm3lg8gp3m 5 ай бұрын
thank you so much
@dinoscheidt
@dinoscheidt 2 жыл бұрын
Just came here randomly to look up wallaby. But i wonder if yarn is still necessary since npm has adopted lock etc as well. At least that is the reason why I used it way back. Any reason why you prefer yarn over npm nowadays? (Honest question) ❤️ from Berlin
@jherr
@jherr 2 жыл бұрын
The two leapfrog features over time, yarn jumped ahead with workspaces there for a bit, and then npm added support. So now it's more of a coin toss for me and I use yarn mostly out of habit.
@ajaydwarkani
@ajaydwarkani 2 жыл бұрын
@Jack Harrington, I like all your "No BS TS" videos. Thanks for spreading the knowledge. Can you share how do you get the inline "Run | Debug" option to run the script right from the editor?
@jherr
@jherr 2 жыл бұрын
I think in this video that was powered by Wallaby.
@ajaydwarkani
@ajaydwarkani 2 жыл бұрын
​@@jherr I found this VS Code extension called "Jest Runner", that adds inline "Run | Debug" :)
@victorlongon
@victorlongon 3 жыл бұрын
I have worked in pretty big projects and wallaby just was not up to the task. It is an awesome tool and it works great on smaller projects but once you use in big ones it just hangs itself and everything gets laggy in vs code. I had to stop using unfortunately (that was a couple of years a go not sure how it is nowadays). I have tests running in watch mode in parallel while I code. I usually use watch typ ahead for jest so i filter the tests I want to be running (so I don't run all tests)
@jherr
@jherr 3 жыл бұрын
Yeah, when I use it for libraries it feels like it would get unresponsive on large projects with complex tests.
@dmitryutkin9864
@dmitryutkin9864 Жыл бұрын
Thanx!
@SARANSASIDHARAN1
@SARANSASIDHARAN1 Жыл бұрын
Thank you!
@SCALENE5
@SCALENE5 3 жыл бұрын
ty
@nayeembadhusha4759
@nayeembadhusha4759 3 жыл бұрын
Hey jack. I was looking for this and i love it
@sashaikevich
@sashaikevich 2 жыл бұрын
What’s your vscode theme? I like it
@jherr
@jherr 2 жыл бұрын
Night Wolf [black]
@lawrencejones51
@lawrencejones51 Жыл бұрын
Wallaby seems to be a productivity enhancing tool. Can't wait to try it out.
@ddikodroid
@ddikodroid 3 жыл бұрын
love this series
@stefanahlander871
@stefanahlander871 2 жыл бұрын
Good stuff!! 🙂
@pekwind
@pekwind 3 жыл бұрын
wow wow wow.
@360nickx
@360nickx 3 жыл бұрын
Wallaby is 🤯
@saidkorseir192
@saidkorseir192 2 жыл бұрын
super 👍
@denilsoncosta9837
@denilsoncosta9837 3 жыл бұрын
i'd like to see ts-jest with Next.js
@nayeembadhusha4759
@nayeembadhusha4759 3 жыл бұрын
Can u make a video on different remoteType or library type with module federation Like for example : remoteType:"module" or library:{type:'module',name:Header'} I dont want to expose my federated modules as globals or as an window object
@jherr
@jherr 3 жыл бұрын
I'll definitely get back into Module Federation sometime soon and I'll add this to the list of topics.
@8bits292
@8bits292 7 ай бұрын
Code link is wrong. The files are not there and there is no Episode 31 between the folders
@berkaygurcan141
@berkaygurcan141 2 жыл бұрын
I did not have the run and debug buttons, what can I do inside it?
@ajaydwarkani
@ajaydwarkani 2 жыл бұрын
If you have not already found it then the VS Code Extension is called "Jest Runner", that adds inline "Run | Debug" :) marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner
@berkaygurcan141
@berkaygurcan141 2 жыл бұрын
@@ajaydwarkani thank you
@sairaj5660
@sairaj5660 3 жыл бұрын
I expected this ❤️
@juniovitorino
@juniovitorino 3 жыл бұрын
Wallaby and Quokka have the same purposes?
@jherr
@jherr 3 жыл бұрын
Quokka is like a notepad with real-time execution of the code.
@victorlongon
@victorlongon 3 жыл бұрын
Wallaby is built on top of quokka if I am not mistaken
@victorlongon
@victorlongon 3 жыл бұрын
@@jherr do you use wallaby in real big projects nowadays? We had licences and everything on a previous workplace but wallaby was just not up to the task with real big things. Maybe the have changed that now? It is a fantastic tool, but it has to work in real projects so we can use on a daily basis
@jherr
@jherr 3 жыл бұрын
@@victorlongon If I'm writing a library then I use it. In day-to-day UI work, not so much.
@victorlongon
@victorlongon 3 жыл бұрын
@@jherr yeap, i might give a try on a components lib we have (not so big of a project).
No BS TS #32 - Monorepos with NX
9:19
Jack Herrington
Рет қаралды 16 М.
Mock vs Spy in Testing with Jest: Which is Better?
25:12
Dev tips by MoHo
Рет қаралды 12 М.
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,9 МЛН
Всё пошло не по плану 😮
00:36
Miracle
Рет қаралды 3,4 МЛН
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 105 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 45 МЛН
No BS TS #29 - Typescript/React - Using xState
22:29
Jack Herrington
Рет қаралды 10 М.
Mocking Axios in Jest + Testing Async Functions
17:43
Leigh Halliday
Рет қаралды 83 М.
No BS TS 34 - Typescript Decorators
17:08
Jack Herrington
Рет қаралды 20 М.
Introduction to Test Driven Development with React
20:38
Coding With Adam
Рет қаралды 20 М.
No BS TS #21 - Typescript/React - Hooks
11:41
Jack Herrington
Рет қаралды 12 М.
No BS TS #25 - Typescript/React - useContext
13:16
Jack Herrington
Рет қаралды 18 М.
Introduction to Jest Testing | JavaScript Unit Tests
25:30
Dave Gray
Рет қаралды 32 М.
The ONLY REASON To Unit Test
8:26
Theo - t3․gg
Рет қаралды 81 М.
Mocking Asynchronous Functions with Jest
21:50
Swashbuckling with Code
Рет қаралды 71 М.
No BS TS #23 - Typescript/React - Custom Hooks
8:39
Jack Herrington
Рет қаралды 11 М.
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,9 МЛН