This page contains the entire Sinon.JS API documentation along with brief introductions to the concepts Sinon implements.

Migration guides



Sinon v10.0.1 is written as ES5.1 and requires no transpiler or polyfills to run in the runtimes listed below.

Supported runtimes

v10.0.1 has been verified in these runtimes:

There should not be any issues with using Sinon v10.0.1 in newer versions of the same runtimes.

If you need to support very old runtimes that have incomplete support for ES5.1 you might get away with using loading es5-shim in your test environment.


Please ask questions on Stack Overflow if you’re stuck.


We really appreciate suggestions to improve the documentation so Sinon.JS can be easier to work with. Get in touch!

© 2010–2020 Christian Johansen
Licensed under the BSD License.