Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
check if the method is not called in jest
Jason Stout
Programming language:
Whatever
2021-06-30 21:41:11
0
Q:
check if the method is not called in jest
L1nu5
Code:
Whatever
2021-08-06 14:34:00
expect(controller.bar).not.toHaveBeenCalled();
1
Tags
check
method
call
Related
magnificpopup is not a function
not builtin_function_or_method
fnGetNodes is not a function
cuckoo verify method not called
printThis is not a function
Uncaught TypeError: d[("get" + method)] is not a function
New to Communities?
Join the community