crypto
crypto copied to clipboard
Add support for spies
Summary
Currently, when you call _brs_.mockFunction it will return a "stub" for the mocked function, so you can keep track of calls and results. It'd be great to also support a spy that preserves the original function implementation, but still keeps track of calls and results.