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

[sinon] Implement stub.resetBehavior() and stub.resetHistory() #364

Merged
merged 1 commit into from
Aug 22, 2022

Conversation

wafuwafu13
Copy link
Contributor

ref: https://sinonjs.org/releases/latest/stubs/

stub.reset();
Resets both behaviour and history of the stub.
This is equivalent to calling both stub.resetBehavior() and stub.resetHistory()

@wafuwafu13 wafuwafu13 changed the title [sinon] Implement stub.resetBehavior() and stub.resetHistory() [sinon] Implement stub.resetBehavior() and stub.resetHistory() Aug 22, 2022
@codecov
Copy link

codecov bot commented Aug 22, 2022

Codecov Report

Merging #364 (8e98b9e) into main (bd56756) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #364   +/-   ##
=======================================
  Coverage   92.19%   92.19%           
=======================================
  Files          26       26           
  Lines        1896     1896           
  Branches      398      398           
=======================================
  Hits         1748     1748           
  Misses        102      102           
  Partials       46       46           
Impacted Files Coverage Δ
src/transformers/sinon.ts 88.75% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@skovhus skovhus merged commit 80d6c38 into skovhus:main Aug 22, 2022
@wafuwafu13
Copy link
Contributor Author

Thank you for merging!

@skovhus
Copy link
Owner

skovhus commented Aug 22, 2022

Thanks for contributing!

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