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
What did you expect to happen?
Calls that was counted for spied getter through sandbox should have been zeroed after call to sandbox.resetHistory()
What actually happens called property on getter spy is true after call to sandbox.resetHistory(). You have to manually reset getter calls by implicit call without sandbox.
flakekun
changed the title
sanbox.resetHistory() do not resets spied getters or setters
sandbox.resetHistory() do not resets spied getters or setters
Dec 27, 2017
What did you expect to happen?
Calls that was counted for spied getter through
sandbox
should have been zeroed after call tosandbox.resetHistory()
What actually happens
called
property on getter spy istrue
after call tosandbox.resetHistory()
. You have to manually reset getter calls by implicit call without sandbox.How to reproduce
https://codepen.io/flakekun/pen/jYroWB?editors=0012
The text was updated successfully, but these errors were encountered: