reactjs jest jQuery is not defined

前端 未结 0 467
面向向阳花
面向向阳花 2021-02-12 07:59

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\'         


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