-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
There is no nice way to spy just one function of an object.
aa = {
someFun: function()
? "doing something"
end function
}
' what about?
_brs_.spyFunction(aa, "someFun")
aa.someFun("hey") ' does nothing
aa.someFun.called ' true
aa.someFun.calledWith ' ["hey"]
aa.someFun.calledTimes ' 1Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels