首页
建站资讯
SEO优化
小程序
网站建设
数码科技
软件介绍
系统教程
questions
登录
标签
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
7天前
2
0