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
Actually, sinon.spy has a special, undocumented parameter called types at third place, and it allows us to observe accessors by passing ["get", "set"].
Actually,
sinon.spy
has a special, undocumented parameter calledtypes
at third place, and it allows us to observe accessors by passing["get", "set"]
.Is it an official feature to be documented?
Using with TypeScript needs it clear(DefinitelyTyped/DefinitelyTyped#32398).
Thanks.
The text was updated successfully, but these errors were encountered: