Jest mock nested function from another file

后端 未结 0 1001
渐次进展
渐次进展 2021-02-20 13:05

I am learning NodeJs and Jest. I am having trouble with unit tests. I just translated my actual code to a simple logic. I have two files as below.

// age.js
funct         


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