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

Update dependency chai-spies to v1 #845

Open
wants to merge 1 commit into
base: master
from
Open

Conversation

@renovate
Copy link
Contributor

renovate bot commented Jun 4, 2019

This PR contains the following updates:

Package Type Update Change
chai-spies devDependencies major 0.7.1 -> 1.0.0

Release Notes

chaijs/chai-spies

v1.0.0

Compare 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 reset method. #​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.toString calls #​93 (@​stalniy)
    If you check the spy.toString() output in your tests, this will need to be changed to accomodate for this change.

Features
chai.spy.on(array, 'push', returns => 5)
chai.spy.on(array, 'push', function() {
  // custom implementation
})
const spy = chai.spy()

spy(1); // first call
spy(2); // second call
spy(3); // third call
spy(i); // nth call

expect(spy).to.have.been.first.called.with(1)
expect(spy).to.have.been.second.called.with(2)
expect(spy).to.have.been.third.called.with(3)
expect(spy).on.nth(i).be.called.with(i)
Bug Fixes
Documentation

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 2 times, most recently from 5231245 to da7b0df Jun 5, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch from da7b0df to 1188fb1 Jun 14, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 4 times, most recently from 09c9110 to 0ae83cc Jul 1, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 3 times, most recently from e850dea to 9e909b4 Jul 10, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 6 times, most recently from dba4c59 to e572c60 Jul 18, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 4 times, most recently from 304ae66 to aac136f Jul 26, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 6 times, most recently from 9dcf9eb to c27fd58 Aug 8, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 3 times, most recently from 82ec590 to 843c428 Aug 18, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch from 843c428 to c3446bb Aug 25, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 4 times, most recently from 2fda817 to 5506876 Oct 22, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch from 5506876 to 9c8f0c7 Oct 30, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch from 9c8f0c7 to 6bc6892 Dec 9, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 4 times, most recently from 2d904c1 to 46ba6c3 Dec 16, 2019
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 3 times, most recently from ab3e94a to 02b328e Jan 24, 2020
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch from 02b328e to 7809b2f Feb 3, 2020
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch from 7809b2f to 2e27e89 Feb 23, 2020
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch from 2e27e89 to c5272a2 Mar 3, 2020
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch from c5272a2 to 4b5c2d7 Mar 12, 2020
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 2 times, most recently from 306bec3 to d2dc825 Mar 26, 2020
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 2 times, most recently from a4e378a to eb8ee38 Apr 11, 2020
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch from eb8ee38 to 330c37c Apr 27, 2020
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch 4 times, most recently from 0308932 to 786d3a9 Jul 2, 2020
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch from 786d3a9 to 6d61b7e Aug 14, 2020
@renovate renovate bot force-pushed the renovate/chai-spies-1.x branch from 6d61b7e to 19be865 Aug 14, 2020
@renovate renovate bot changed the title chore(deps): update dependency chai-spies to v1 Update dependency chai-spies to v1 Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.