This page contains the entire Sinon.JS API documentation along with brief introductions to the concepts Sinon implements.
- General setup
- Spy calls
- Fake timers
- Migrating from v1.x to v2.0
- Migrating from v2.x to v3.0
- Migrating from v3.x to v4.0
- Migrating from v4.x to v5.0
- Migrating from v5.x to v6.0
v6.3.5 is written as ES5.1 and requires no transpiler or polyfills to run in the runtimes listed below.
v6.3.5 has been verified in these runtimes:
- Firefox 45
- Chrome 48
- Internet Explorer 11
- Edge 14
- Safari 9
- Node.js LTS versions
There should not be any issues with using Sinon
v6.3.5 in newer versions of the same runtimes.
Please ask questions on Stack Overflow if you’re stuck.
We really appreciate suggestions to improve the documentation so Sinon.JS can be easy to work with. Get in touch!
© 2010–2018 Christian Johansen
Licensed under the BSD License.