Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sinon-chai

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sinon-chai - npm Package Compare versions

Comparing version 2.6.0 to 2.7.0

9

package.json

@@ -12,4 +12,4 @@ {

],
"version": "2.6.0",
"author": "Domenic Denicola <domenic@domenicdenicola.com> (http://domenic.me/)",
"version": "2.7.0",
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me/)",
"license": "WTFPL",

@@ -19,4 +19,3 @@ "repository": "domenic/sinon-chai",

"files": [
"LICENSE.txt",
"lib/*"
"lib"
],

@@ -29,3 +28,3 @@ "scripts": {

"peerDependencies": {
"chai": ">=1.9.2 <2",
"chai": ">=1.9.2 <3",
"sinon": ">=1.4.0 <2"

@@ -32,0 +31,0 @@ },

@@ -130,2 +130,13 @@ # Sinon.JS Assertions for Chai

Note that you can negate any assertion with Chai's `.not`. E. g. for `notCalled` use `spy.should.have.not.been.called`.
For `assert` interface there is no need for this library. You can install [Sinon.JS assertions][sinonassertions] right into Chai's `assert` object with `expose`:
```javascript
var chai = require("chai");
var sinon = require("sinon");
sinon.assert.expose(chai.assert, { prefix: "" });
```
## Examples

@@ -233,2 +244,3 @@

[spymethods]: http://sinonjs.org/docs/#spies-api
[sinonassertions]: http://sinonjs.org/docs/#assertions
[Mocha]: http://visionmedia.github.com/mocha/

@@ -235,0 +247,0 @@ [fixturedemo]: https://github.com/domenic/sinon-chai/tree/master/test/

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc