How to assert on callback when using jest.useFakeTimers

前端 未结 0 637
耶瑟儿~
耶瑟儿~ 2020-12-13 02:59

I\'m trying to understand how to correctly unit test a custom debounce method we have:

// function we want to          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题