Sinon Error: Attempted to wrap undefined property ‘XYZ as function

I ran into a fun little error recently when working on a ReactJs application.  In my application I was using SinonJs to setup some spies on a method, I wanted to capture the input arguments for verification.  However, when I ran my test I received the following error. Attempted to wrap undefined property handlOnAccountFilter as …

Continue reading Sinon Error: Attempted to wrap undefined property ‘XYZ as function