Skip to content
@sinonjs

Sinon.JS

Standalone test spies, stubs and mocks for JavaScript.

Pinned Loading

  1. sinon Public

    Test spies, stubs and mocks for JavaScript.

    JavaScript 9.7k 770

  2. referee Public

    Test-framework agnostic assertion and expectation library

    JavaScript 42 21

  3. referee-sinon Public

    Sinon.JS and the referee assertion library in one package

    JavaScript 5 4

  4. fake-timers Public

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

    JavaScript 816 109

  5. nise Public

    Fake XHR and fake server

    JavaScript 110 47

  6. samsam Public

    Value identification and comparison functions

    JavaScript 27 31

Repositories

Showing 10 of 17 repositories
  • sinon Public

    Test spies, stubs and mocks for JavaScript.

    JavaScript 9,695 770 38 (18 issues need help) 2 Updated Feb 18, 2025
  • nise Public

    Fake XHR and fake server

    JavaScript 110 47 8 (3 issues need help) 2 Updated Feb 15, 2025
  • fake-timers Public

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

    JavaScript 816 BSD-3-Clause 109 9 (4 issues need help) 3 Updated Feb 13, 2025
  • samsam Public

    Value identification and comparison functions

    JavaScript 27 31 6 2 Updated Oct 31, 2024
  • text-encoding Public Forked from inexorabletash/text-encoding

    Polyfill for the Encoding Living Standard's API

    JavaScript 3 283 0 0 Updated Aug 19, 2024
  • commons Public

    Simple functions shared among the sinon end user libraries

    JavaScript 4 BSD-3-Clause 7 0 2 Updated Jun 16, 2024
  • sinon-test Public

    Wrap your tests in a sandbox with auto-cleanup

    JavaScript 51 16 1 7 Updated May 15, 2024
  • eslint-config Public

    Common eslint config for Sinon

    JavaScript 3 4 0 1 Updated Apr 25, 2024
  • referee-sinon Public

    Sinon.JS and the referee assertion library in one package

    JavaScript 5 4 1 2 Updated Feb 27, 2024
  • referee Public

    Test-framework agnostic assertion and expectation library

    JavaScript 42 21 8 2 Updated Feb 27, 2024