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
Working on angular-debaser, I have a situation in which I want to know if a function is a Sinon.JS stub. Currently I am checking for foo.displayName === 'stub' or foo.displayName === 'spy' but this might be flimsy, and was wondering if there was a canonical way to do it.
thanks,
Chris
The text was updated successfully, but these errors were encountered:
Hi,
Working on angular-debaser, I have a situation in which I want to know if a function is a Sinon.JS stub. Currently I am checking for
foo.displayName === 'stub'
orfoo.displayName === 'spy'
but this might be flimsy, and was wondering if there was a canonical way to do it.thanks,
Chris
The text was updated successfully, but these errors were encountered: