Sinon: Deprecate spy.reset() in favor of the more explicit spy.resetHistory()

Created on 2 Jun 2017  ·  4Comments  ·  Source: sinonjs/sinon

Spy currently has a reset method which functions as resetHistory. It would make the intention and functionality of the method more clear if it were named appropriately.

Help wanted Improvement stale

Most helpful comment

Picked this one up as it was marked as "Help Wanted" - hope that's okay.

All 4 comments

The idea for this ticket started in #1424.

Picked this one up as it was marked as "Help Wanted" - hope that's okay.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This was done with #1630

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NathanHazout picture NathanHazout  ·  3Comments

ALeschinsky picture ALeschinsky  ·  4Comments

zimtsui picture zimtsui  ·  3Comments

sudhirbits picture sudhirbits  ·  4Comments

kevinburkeshyp picture kevinburkeshyp  ·  4Comments