test onFocus and onBlur event handling using mocha, sinon

前端 未结 0 1199
無奈伤痛
無奈伤痛 2020-12-30 23:29

How can i test the onFocus and onBlur events of my Text component. I want to simulate the focus event and check if callSetLocalizedName function was called.

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