How can I use an external library in my jest tests

后端 未结 0 683
太阳男子
太阳男子 2020-11-21 07:52

I am writing unit tests for my react website using jest running on node. My website uses the D3 diagramming library on some pages, so i load it dynamically using this functi

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