How to use Jest to test functions using crypto or window.msCrypto

前端 未结 0 1678
醉酒成梦
醉酒成梦 2021-02-15 22:10

When running unit tests with Jest in react the window.crypto API is causing problems. I haven\'t found a way to incorporate crypto in Jest without installing other packages whic

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