Skip to content
@sinonjs

Sinon.JS

Standalone test spies, stubs and mocks for JavaScript.

Pinned Loading

  1. sinon sinon Public

    Test spies, stubs and mocks for JavaScript.

    JavaScript 9.8k 816

  2. referee referee Public

    Test-framework agnostic assertion and expectation library

    JavaScript 43 21

  3. referee-sinon referee-sinon Public

    Sinon.JS and the referee assertion library in one package

    JavaScript 4 6

  4. fake-timers fake-timers Public

    Fake setTimeout and friends (collectively known as "timers"). Useful in your JavaScript tests. Extracted from Sinon.JS

    JavaScript 861 132

  5. nise nise Public

    Fake XHR and fake server

    JavaScript 112 53

  6. samsam samsam Public

    Value identification and comparison functions

    JavaScript 28 36

Repositories

Showing 10 of 17 repositories
  • sinon Public

    Test spies, stubs and mocks for JavaScript.

    sinonjs/sinon's past year of commit activity
    JavaScript 9,751 816 34 (12 issues need help) 17 Updated Nov 17, 2026
  • fake-timers Public

    Fake setTimeout and friends (collectively known as "timers"). Useful in your JavaScript tests. Extracted from Sinon.JS

    sinonjs/fake-timers's past year of commit activity
    JavaScript 861 BSD-3-Clause 132 1 2 Updated Nov 16, 2026
  • sinon-test Public

    Wrap your tests in a sandbox with auto-cleanup

    sinonjs/sinon-test's past year of commit activity
    JavaScript 51 17 0 0 Updated Nov 15, 2026
  • samsam Public

    Value identification and comparison functions

    sinonjs/samsam's past year of commit activity
    JavaScript 28 36 3 22 Updated Nov 15, 2026
  • referee Public

    Test-framework agnostic assertion and expectation library

    sinonjs/referee's past year of commit activity
    JavaScript 43 21 8 6 Updated Nov 15, 2026
  • referee-sinon Public

    Sinon.JS and the referee assertion library in one package

    sinonjs/referee-sinon's past year of commit activity
    JavaScript 4 6 1 10 Updated Nov 15, 2026
  • commons Public

    Simple functions shared among the sinon end user libraries

    sinonjs/commons's past year of commit activity
    JavaScript 4 BSD-3-Clause 9 0 3 Updated Nov 15, 2026
  • eslint-config Public

    Common eslint config for Sinon

    sinonjs/eslint-config's past year of commit activity
    JavaScript 3 3 0 6 Updated Nov 13, 2026
  • nise Public

    Fake XHR and fake server

    sinonjs/nise's past year of commit activity
    JavaScript 112 53 3 (1 issue needs help) 9 Updated Nov 13, 2026
  • text-encoding Public archive Forked from inexorabletash/text-encoding

    Polyfill for the Encoding Living Standard's API

    sinonjs/text-encoding's past year of commit activity
    JavaScript 3 284 0 0 Updated Mar 3, 2026