Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Don't call runSuite on just anything, only objects #185

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant

Floby commented Dec 23, 2012

Check that we're calling runSuite on an object when prop is not a function.

This caused a bug when running my tests on node-libspotify. I Couldn't track exactly why this function was called with undefined in the first place, but this fixed it and seemed appropriate.

Thanks for this framework by the way :)

Don't call runSuite on just anything, only objects
Check that we're calling runSuite on an object when prop is not a function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment