reactjs jest jQuery is not defined

前端 未结 0 1130
南方客
南方客 2021-02-12 07:37

I am using jest to test my reactJS component. In my reactJS component, I need to use jquery UI, so I added this in the component:

var jQuery = require(\'jquery\'         


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