crypto icon indicating copy to clipboard operation
crypto copied to clipboard

Add support for spies

Open lkipke opened this issue 5 years ago • 0 comments

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.

lkipke avatar Sep 25 '20 22:09 lkipke