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

[Snyk] Upgrade chai-spies from 0.6.0 to 0.7.1 #4

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade chai-spies from 0.6.0 to 0.7.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
  • The recommended version is 2 versions ahead of your current version.
  • The recommended version was released 4 years ago, on 2015-09-21.
Release notes
Package name: chai-spies
  • 0.7.1 - 2015-09-21

    Added chai-spies to the bower registry!

    Community Contributions

    • #36 Add bower.json to chai-spies package
      By @rcchen
  • 0.7.0 - 2015-07-24

    Added .spy.reset() method, to reset call counters back to 0

    var spy = chai.spy('foo');
    spy();
    spy.should.have.been.called();
    spy.reset();
    spy.should.not.have.been.called();

    Community Contributions

    Code Features & Fixes

  • 0.6.0 - 2015-04-26

    Added .spy.on and .spy.object to easily make new spies, for example:

    // Returns `fs` but with readFile and readFileSync spied on
    var fs = chai.spy.object(fs, ['readFile', 'readFileSync']);
    

    // Shortcut for fs.writeFile = chai.spy(fs.writeFile)
    chai.spy.on(fs, 'writeFile');

    Added new assertions:

    • .called.min(n)/.at.least(n) to assert a spy has been called a minimum of
      n many times.
    • .called.max(n)/.at.most(n) to assert that a spy has been called at most n
      number of times.

    Community Contributions

    Code Features & Fixes

    Documentation fixes

from chai-spies GitHub release notes
Commit messages
Package name: chai-spies
  • 9309677 Merge pull request #37 from keithamus/release-0.7.1
  • ce3b8e0 0.7.1
  • c8b1244 Merge pull request #36 from rcchen/master
  • ab58e62 Add bower.json to chai-spies package
  • abffaef Merge pull request #32 from d48/feature/update-readme-with-reset
  • c15bfc4 add reset in creating spies reference
  • 3479728 Merge pull request #31 from keithamus/release-0.7.0
  • d125cc1 Release 0.7.0
  • aa99490 Merge pull request #28 from d48/feature/add-reset-method
  • 381511d add spy.reset method and tests
  • d881adf Merge pull request #25 from keithamus/fix-api-key
  • ddc2497 Fix API key
  • 54d37ba Merge pull request #24 from keithamus/release-0.6.0

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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

1 participant