Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate dependency chai-spies to v1 #845
Open
Conversation
5231245
to
da7b0df
09c9110
to
0ae83cc
e850dea
to
9e909b4
dba4c59
to
e572c60
304ae66
to
aac136f
9dcf9eb
to
c27fd58
82ec590
to
843c428
2fda817
to
5506876
2d904c1
to
46ba6c3
ab3e94a
to
02b328e
306bec3
to
d2dc825
a4e378a
to
eb8ee38
0308932
to
786d3a9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
renovate bot commentedJun 4, 2019
•
edited
This PR contains the following updates:
0.7.1->1.0.0Release Notes
chaijs/chai-spies
v1.0.0Compare Source
This is a major release which introduces many new featues, such as sandboxes, as well as new convenience methods and assertions.
This major release also comes with some breaking changes:
Breaking Changes
removed
resetmethod. #35 (@stalniy)You will need to update any callsites to
spy.reset()to instead assign a new spy to that variable or property.exposes original function body in
spy.toStringcalls #93 (@stalniy)If you check the
spy.toString()output in your tests, this will need to be changed to accomodate for this change.Features
added spy.returns #35 (@stalniy)
Allows to create spies that return constant value
added spy.on #61 (#38, @stalniy)
Allows to add spies on existing methods
added posibility to replace original method when spying with
spy.on#68 (#62, @stalniy)added spy.restore #61 (#38, @stalniy)
Allows to remove spies added by
spy.onand restore original method implementationadded support for sanboxes #61 (#38, @stalniy)
Now it's possible to create sanboxes and track/restore spies in sandbox
added support for
nthcall checks #75 (#59, @cnexans)Allows to check spy arguments on specified call
Bug Fixes
.withwhen multiple identical arguments are passed in spy call #56 (#45, @meeber)Documentation
Renovate configuration
This PR has been generated by WhiteSource Renovate. View repository job log here.