You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the rarely-used assertions is assertCallsFunction, which has a niche use case in test cases, mostly for verifying side effects. Currently, it uses debug hooks to check that the target function is called (once). Ideally, it should check the count (added parameter) and allow the user to optionally assert that the expected number of calls was made - defaulting to one.
The text was updated successfully, but these errors were encountered:
One of the rarely-used assertions is
assertCallsFunction
, which has a niche use case in test cases, mostly for verifying side effects. Currently, it uses debug hooks to check that the target function is called (once). Ideally, it should check the count (added parameter) and allow the user to optionally assert that the expected number of calls was made - defaulting to one.The text was updated successfully, but these errors were encountered: