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

Alias spy.reset to spy.resetHistory #1628

Closed
wants to merge 1 commit into from
Closed

Alias spy.reset to spy.resetHistory #1628

wants to merge 1 commit into from

Conversation

GCHQDeveloper500
Copy link
Contributor

@GCHQDeveloper500 GCHQDeveloper500 commented Dec 8, 2017

Purpose (TL;DR) - mandatory

As per #1446 - spy.reset aliased to spy.resetHistory.

Background (Problem in detail) - optional

N/A, original ticket explains it all.

Solution - optional

  • Changed name of reset to resetHistory in code and tests
  • Added new test to ensure alias works
  • Updated docs to reflect changes

How to verify - mandatory

  1. Check out this branch
  2. npm install
  3. npm test

Checklist for author

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

@mroderick
Copy link
Member

Did you close this by accident?

@mroderick
Copy link
Member

I now see that you created #1630 instead. All is well 👍

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.

None yet

2 participants