Jest node typescript mock exported default const

前端 未结 0 879
甜味超标
甜味超标 2021-02-02 01:59

I am trying to add tests to my node server (using typescript) and I\'m having a trouble to mock a const that I am exporting as default const.

My exported default const is

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