Skip to content

Conversation

@cwilbur
Copy link

@cwilbur cwilbur commented Dec 27, 2021

I added code to verify the number of times a test double was called, and brought the existing code up to date with current practices. I added tests and updated the documentation as well.

If there's something about it you don't like or would prefer done another way, let me know. I'm not dogmatic, and I'd be happy to change it.

    * add a method for assert.calledTimes(number)
    * add a property for assert.calledOnce, assert.calledTwice, assert.calledThrice
    * restructuring and updating the code, in particular using const/let, destructuring, and arrow function 'this' semantics.
@BaseCase
Copy link
Owner

BaseCase commented Jan 2, 2022

Hey @cwilbur thank you for this awesome PR! I haven't looked at this project in quite some time (hence my slow reply), so it'll take me a minute to get things set back up to review this properly, but I will set aside time for that this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants