benbria / object-spy

0 stars 0 forks source link

Spy on function objects #20

Closed bllanos closed 9 years ago

bllanos commented 9 years ago

Requested reviewers: @bsleighb Issues: #10

Summary of Changes

ghost commented 9 years ago

So after running the project locally and creating a function that only console.log'd, it seems, as we discovered, there is a problem when a function returns undefined.

The following error occurs:

objectSpy error: Unknown type of call event passed to CallStore.add()

bllanos commented 9 years ago

I made several updates:

@bsleighb if you can run a sanity check, I would appreciate it.

ghost commented 9 years ago

Works as advertised now :+1: