首页
运维笔记
SEO心得
软件程序
网站源码
旗下网站
programmer
登录
标签
javascriptexpect(jestfn())toHave
javascript - expect(jest.fn()).toHaveBeenCalled() fails even though the function has been called - Stack Overflow
I'm trying to unit test a function that returns a promise. I'm having challenges verifying if
javascriptexpect(jestfn())toHaveBeenCalled() fails even though the function has been calledStack Overflow
admin
20小时前
1
0