Don't Use The Wrong Query Function Again!

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • Using the wrong query functions can cause unexpected testing behaviors, and the Jest documentations doesn't make it clear on when to use each type of query functions. Until you try and test a lot yourself, you'll start to wrap your head around it. So, in this video I will show you when to use what. There are 3 types of query functions: getBy, queryBy or findBy.
    - Github repo for this video and all the testing series:
    github.com/mma...
    - Follow me on X:
    / mmxi47

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

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

    Insightful content!

  • @daucuskarota9497
    @daucuskarota9497 5 месяцев назад +1

    it was helpful, I hope you'll find time to make next video)

    • @markmaksi
      @markmaksi  5 месяцев назад

      Thank you! It's not a matter of time, but my views dropped dramatically after posting 4 videos on Testing.
      Now I'm preparing for a hot video for the coming weeks, tests will be there but not the main topic, but it's gonna be a great one. I'll drop different videos before that hot one is ready to be released. Be ready for it!

    • @daucuskarota9497
      @daucuskarota9497 5 месяцев назад

      testing is not so popular topic... and find something that is matching with you can be difficult