No BS TS #31 - Testing with Jest and Wallaby

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024

Комментарии • 53

  • @victorlongon
    @victorlongon 3 года назад +4

    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 года назад +1

      Yeah, when I use it for libraries it feels like it would get unresponsive on large projects with complex tests.

  • @Papapiishu
    @Papapiishu 3 года назад +17

    I'd love to see something about writing tests for React components

    • @jherr
      @jherr  3 года назад +5

      Agreed. I'll add that to the list.

    • @mainendra
      @mainendra 3 года назад

      me too

    • @victorlongon
      @victorlongon 3 года назад +2

      @@jherr maybe have a video with react testing library and typescript?

  • @jackh3242
    @jackh3242 3 года назад +2

    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!

  • @EnLaMitad
    @EnLaMitad 3 года назад +3

    I love your channel Jack. Keep the amazing content coming.

  • @francis_n
    @francis_n 3 года назад +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.

  • @ryanjensen4232
    @ryanjensen4232 Год назад +1

    Awesome, thanks!

  • @user-gm3lg8gp3m
    @user-gm3lg8gp3m 4 месяца назад +1

    thank you so much

  • @SCALENE5
    @SCALENE5 3 года назад +1

    ty

  • @stefanahlander871
    @stefanahlander871 2 года назад +1

    Good stuff!! 🙂

  • @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.

  • @sashaikevich
    @sashaikevich Год назад +1

    What’s your vscode theme? I like it

    • @jherr
      @jherr  Год назад +1

      Night Wolf [black]

  • @AAquaticAApe
    @AAquaticAApe 2 года назад +1

    wow for Wallaby! thanks for sharing this awesome extension!

  • @pekwind
    @pekwind 2 года назад +1

    wow wow wow.

  • @saidkorseir192
    @saidkorseir192 2 года назад +1

    super 👍

  • @shashydass4114
    @shashydass4114 3 года назад +1

    Great video. I think the no BS TS series is essential viewing for Typescript developers. Just incredible content!

  • @dmitryutkin9864
    @dmitryutkin9864 Год назад +1

    Thanx!

  • @align2source
    @align2source 2 года назад +1

    Awesome series! Love the vibe of it all, and just really great content 💚

  • @babyboie20
    @babyboie20 3 года назад +1

    Thanks a million for the sort of quick start guide!

  • @ThEldeRS
    @ThEldeRS 3 года назад +1

    One of the best productivity boosters I've ever seen! LOVE your channel and this series!

  • @Bill-cw1ei
    @Bill-cw1ei Год назад +1

    Wallaby is a great time saver, thanks for letting us know!

  • @nayeembadhusha4759
    @nayeembadhusha4759 3 года назад +1

    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 года назад +1

      I'll definitely get back into Module Federation sometime soon and I'll add this to the list of topics.

  • @nayeembadhusha4759
    @nayeembadhusha4759 3 года назад +1

    Hey jack. I was looking for this and i love it

  • @dinoscheidt
    @dinoscheidt 2 года назад +1

    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.

  • @8bits292
    @8bits292 6 месяцев назад

    Code link is wrong. The files are not there and there is no Episode 31 between the folders

  • @ddikodroid
    @ddikodroid 3 года назад +2

    love this series

  • @berkaygurcan141
    @berkaygurcan141 2 года назад +1

    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

  • @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 6 месяцев назад

      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!

  • @ajaydwarkani
    @ajaydwarkani 2 года назад +1

    @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 года назад +1

      I think in this video that was powered by Wallaby.

    • @ajaydwarkani
      @ajaydwarkani 2 года назад +1

      ​@@jherr I found this VS Code extension called "Jest Runner", that adds inline "Run | Debug" :)

  • @denilsoncosta9837
    @denilsoncosta9837 3 года назад +1

    i'd like to see ts-jest with Next.js

  • @sairaj5660
    @sairaj5660 3 года назад +1

    I expected this ❤️

  • @lawrencejones51
    @lawrencejones51 Год назад

    Wallaby seems to be a productivity enhancing tool. Can't wait to try it out.

  • @360nickx
    @360nickx 3 года назад +1

    Wallaby is 🤯

  • @SARANSASIDHARAN1
    @SARANSASIDHARAN1 Год назад

    Thank you!

  • @juniovitorino
    @juniovitorino 3 года назад +1

    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 года назад +1

      Wallaby is built on top of quokka if I am not mistaken

    • @victorlongon
      @victorlongon 3 года назад +1

      @@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 года назад +1

      @@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).