Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1638: resetHistory for props #1677

Merged
merged 2 commits into from
Jan 26, 2018

Conversation

mroderick
Copy link
Member

This PR is a fix for #1638.

The first commit is a fix for a poorly constructed test. Reviewers: is the commit message adequate to describe what the issue was?

How to verify - mandatory

  1. Check out this branch
  2. npm install
  3. npm test
  4. Observe no test failures

Checklist for author

  • npm run lint passes
  • References to standard library functions are cached.

The test implementation was using objects with `resetHistory` methods.
However, the only valid things to have in the `fakes` collection are
spies (functions) or property descriptors (objects with spies), which
have `resetHistory` methods.
@mroderick mroderick added the semver:patch changes will cause a new patch version label Jan 26, 2018
@mroderick mroderick merged commit 3551fdf into sinonjs:master Jan 26, 2018
@mroderick mroderick deleted the fix-resethistory-for-props branch January 26, 2018 21:20
@mroderick
Copy link
Member Author

This has been published as sinon@4.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch changes will cause a new patch version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants