These docs are from an older version of sinon. Do you want the latest docs? API documentation - Sinon.JS - v20.0.0 This page contains the entire Sinon.JS API documentation along with brief introductions to the concepts Sinon implements. General setup Fakes Spies Stubs Mocks Spy calls Promises Fake timers JSON-P Assertions Matchers Sandboxes Utils Migration guides Migrating from v1.x to v2.0 Migrat


{{#tags}}- {{label}}
{{/tags}}