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
Hi, how can I test a function (A), which will call another function (B).
I expect the B will be called, when I call A.
The text was updated successfully, but these errors were encountered:
xiong-pro
changed the title
Can as-pect mock functions, and expect toHaveBeenCalled?
Can as-pect mock functions, and expect "toHaveBeenCalled" ?
Jun 24, 2021
I don't believe closures will be supported anytime soon. On top of this, we don't keep track of when functions are called, what function indexes are used, and this would be a feature that AssemblyScript is not good at providing. I think we should close this issue and mark as "wontfix." Perhaps some day we can add this feature.
Hi, how can I test a function (A), which will call another function (B).
I expect the B will be called, when I call A.
The text was updated successfully, but these errors were encountered: