Closed deitch closed 8 years ago
Added one test for the function. All tests that passed before, pass now.
@deitch - nice. Was just wondering if there was a way I could inject errors, and this looks like the right way!
@antonosmond - any chance of this getting merged soon?
Done - only just saw your pull request otherwise I would've merged it sooner. Tbh I've not used this repo for a while but if people are using it I'll keep it alive and merge any sensible changes. Thanks for your contribution @deitch - have a great Xmas!
:tada: @antonosmond - are you going to publish the new version to npmjs?
@hairyhenderson - Done.
@antonosmond - awesome, thank you! :)
Great! I am glad it was helpful to people.
Instead of just fixed
data
as the third argument tomock()
, it can be fixed or functions. This gives the ability to look at parameters, provide variable data, send data or call an error.