How can I properly mock/include jQuery in Jest tests?

前端 未结 0 535
时光说笑
时光说笑 2021-02-04 04:16

I\'m attempting to run Jest tests for a JS file that includes some jQuery. The jQuery code is unrelated and not being tested, but cannot be removed for other reasons. However m

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