Skip to content


Standalone test spies, stubs and mocks for JavaScript.


  1. sinon Public

    Test spies, stubs and mocks for JavaScript.

    JavaScript 8.7k 784

  2. referee Public

    Test-framework agnostic assertion and expectation library

    JavaScript 31 21

  3. Sinon.JS and the referee assertion library in one package

    JavaScript 2 4

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

    JavaScript 649 89

  5. nise Public

    Fake XHR and fake server

    JavaScript 96 42

  6. samsam Public

    Value identification and comparison functions

    JavaScript 24 25