React Unit Testing Tutorial With React Testing Library and Vitest React

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

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

  • @MonsterlessonsAcademy
    @MonsterlessonsAcademy  26 дней назад

    WATCH NEXT: React Unit Testing Crash Course: Beginner to Advanced Guide - ruclips.net/video/iIMaFgeNzc8/видео.htmlsi=CK1gCezcfuXX9vwz

  • @dj_256
    @dj_256 16 дней назад

    This is hugely underrated content

  • @garikmelqonyan6011
    @garikmelqonyan6011 5 месяцев назад +2

    Good job, bro!
    Btw, you said you have solved the issue with `SyntaxError: Cannot use import statement outside a module jest`.
    Can you pls tell how you have done it?
    There is tons of info about it but none of them solves the issue...

  • @devyadav0399
    @devyadav0399 4 месяца назад +1

    Really helpful, keep up the good work!

  • @haidarmuhammadnaufal160
    @haidarmuhammadnaufal160 2 месяца назад

    I cannot insert my component inside render(). It's said that my component is a type even thought it isn't

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  2 месяца назад

      Unfortunately I help with code debugging only in the paid courses as it takes a lot of time and effort.

  • @kmdoll
    @kmdoll 2 месяца назад

    Thanks for the video. Very helpful. Just curious, when you code personal projects, do you start with tests first or do you start with writing code first? Thanks.

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

    Very good video, Thank you for sharing. I was thinking, since Cypress has its Component testing, is it not possible to just use Cypress ?

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  6 месяцев назад +1

      You kind of can, but it is not a replacement for normal unit testing. Cypress just lacks flexibility of unit testing.

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

      Thank you so much@@MonsterlessonsAcademy for getting back to me. Yeah that makes sense, I am just trying to get the most complete setup without excess dependencies,
      I guess I will use this for Unit tests, and possibly for component too, then cypress just for E2E

  • @waleedsharif618
    @waleedsharif618 11 месяцев назад

    Does it work normally if we use React testing library + jest + vite and not vitest ?

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  11 месяцев назад

      Yes obviously

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

      @@MonsterlessonsAcademy It's not obvious, it's a legitimate question. I was wondering the same thing

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  8 месяцев назад +1

      @@niloben659 Sorry, when I', writing code I always do it so it works for people in different os, use cases etc. This is why for me it is obviously :)

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

      @@MonsterlessonsAcademy No problem and thanks for the video

  • @alishettima9788
    @alishettima9788 3 месяца назад

    Nice presentation, but you are little bit fast with talking. Please move slowly, so that people can follow with you along because your presentation is excellent.

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  3 месяца назад

      Thank you for the feedback. Meanwhile you can slow down the video if it is too fast for you.

    • @Its-InderjeetSinghGill
      @Its-InderjeetSinghGill 2 месяца назад

      @@MonsterlessonsAcademyNice humour 😂😂😂