首页
运维笔记
SEO心得
软件程序
网站源码
旗下网站
programmer
登录
标签
javascriptHow to mock a function
javascript - How to mock a function inside another function (which I am testing) using sinon? - Stack Overflow
let's say i have a functionFunc a() {Do Somethinglet c = b();return c;}I want to test the funct
javascriptHow to mock a function inside another function (which I am testing) using sinonStack Overflow
admin
1天前
5
0