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 779

  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 4

  4. fake-timers fake-timers Public

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

    JavaScript 856 116

  5. nise nise Public

    Fake XHR and fake server

    JavaScript 112 49

  6. samsam samsam Public

    Value identification and comparison functions

    JavaScript 27 31

Repositories

Showing 10 of 17 repositories
  • samsam Public

    Value identification and comparison functions

    sinonjs/samsam’s past year of commit activity
    JavaScript 27 31 4 3 Updated Mar 5, 2026
  • sinon Public

    Test spies, stubs and mocks for JavaScript.

    sinonjs/sinon’s past year of commit activity
    JavaScript 9,760 779 44 (15 issues need help) 3 Updated Mar 4, 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 856 BSD-3-Clause 115 10 (3 issues need help) 3 Updated Mar 3, 2026
  • nise Public

    Fake XHR and fake server

    sinonjs/nise’s past year of commit activity
    JavaScript 112 49 3 (1 issue needs help) 0 Updated Mar 3, 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 286 0 0 Updated Mar 3, 2026
  • eslint-config Public

    Common eslint config for Sinon

    sinonjs/eslint-config’s past year of commit activity
    JavaScript 3 3 1 2 Updated Mar 2, 2026
  • referee Public

    Test-framework agnostic assertion and expectation library

    sinonjs/referee’s past year of commit activity
    JavaScript 43 21 8 2 Updated Mar 25, 2025
  • commons Public

    Simple functions shared among the sinon end user libraries

    sinonjs/commons’s past year of commit activity
    JavaScript 4 BSD-3-Clause 7 0 2 Updated Jun 16, 2024
  • sinon-test Public

    Wrap your tests in a sandbox with auto-cleanup

    sinonjs/sinon-test’s past year of commit activity
    JavaScript 51 16 1 7 Updated May 15, 2024
  • referee-sinon Public

    Sinon.JS and the referee assertion library in one package

    sinonjs/referee-sinon’s past year of commit activity
    JavaScript 4 4 1 2 Updated Feb 27, 2024