🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

unexpected-sinon

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unexpected-sinon - npm Package Compare versions

Comparing version

to
0.1.0

2

package.json
{
"name": "unexpected-sinon",
"version": "0.0.4",
"version": "0.1.0",
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>",

@@ -5,0 +5,0 @@ "keywords": [

@@ -180,4 +180,2 @@ # Unexpected-sinon

## TODO
### was always called with exactly

@@ -187,2 +185,6 @@

```js
expect(spy, 'was always called with exactly', 'foo', 'bar', sinon.match.truthy);
```
### threw

@@ -194,4 +196,16 @@

```js
expect(spy, 'threw');
expect(spy, 'threw', 'TypeError');
expect(spy, 'threw', error);
```
### always threw
Like above, only required for all calls to the spy.
```js
expect(spy, 'always threw');
expect(spy, 'always threw', 'TypeError');
expect(spy, 'always threw', error);
```