unexpected-sinon
Advanced tools
Comparing version 5.0.0 to 5.1.0
{ | ||
"name": "unexpected-sinon", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -65,2 +65,18 @@ # Unexpected-sinon | ||
Because Sinon is currently not AMD compatible you will need this RequireJS configuration to make things work: | ||
```js | ||
requirejs.config({ | ||
paths: { | ||
'sinon': 'path/to/sinon' | ||
}, | ||
shim: { | ||
'sinon': { | ||
deps: ['sinon'], | ||
exports: 'sinon' | ||
} | ||
} | ||
}); | ||
``` | ||
## API | ||
@@ -67,0 +83,0 @@ |
142959
12
5055
238