Testing React #10: testing forms in Enzyme

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

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

  • @IndianKhanSameer
    @IndianKhanSameer 4 года назад +1

    I wish I could hit like multiple times - thank you for a very clear and thorough video

  • @lokeshgaria6282
    @lokeshgaria6282 2 года назад

    What about change event on select

  • @4everdefence
    @4everdefence 4 года назад +6

    to get my simulate change to work I had to specify the name of the input.
    target:{name:'name',value:'testing'}
    if I didnt do that I would get the error of it not receiving the input. Hope this helps someone else

  • @JS-iw7pl
    @JS-iw7pl 3 года назад

    Thanks. Documentation for Jest, Enzyme, and React is lacking. To many versions and to many conflicting resources.

  • @alekhyakamale
    @alekhyakamale 4 года назад

    I get an error saying that simulate needs to run on 1 node and found 0 instead. Can you please help me out?

    • @trueknowledgehub6009
      @trueknowledgehub6009 2 года назад

      Please check whether your btn id or property exist with same name

  • @nikhilagnihotri5029
    @nikhilagnihotri5029 4 года назад +2

    The pace is too fast. Great tutorial but please slow down.

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

      I reduce the video speed to 0.75 in the settings to follow along