sinon

Open source

We provide the most widely used stubbing library for JavaScript with ~3M weekly downloads

Contribute


Become a financial contributor.

Financial Contributions

Recurring contribution

Backers

Support us with a monthly donation and help us continue our activities.

Starts at$2 USD / month

Latest activity by


+ 44
Recurring contribution

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site.

Starts at$100 USD / month

Latest activity by


+ 2
Custom contribution

Donation

Make a custom one-time or recurring contribution.

Latest activity by


+ 79

Top financial contributors

Organizations

1
Airbnb

$5,738 USD since Apr 2018

2
BitMEX

$2,100 USD since Dec 2019

3
Mixmax

$1,700 USD since Jan 2018

4
Principal Financial Group

$1,476 USD since Dec 2018

5
BuySellAds

$1,432.77 USD since Dec 2019

6
Routable

$300 USD since Apr 2021

7
CryptoNewsZ

$300 USD since Apr 2021

8
CodePilot.ai

$200 USD since Apr 2018

9
Awisee

$100 USD since Mar 2021

10
Underdogz Studio

$90 USD since Feb 2019

Individuals

1
Yannick Croissant

$780 USD since Jul 2019

2
Lon Ingram

$250 USD since Jul 2017

3
Rens Groothuijsen

$240 USD since Aug 2017

4
Mark Stacey

$168 USD since Feb 2017

5
Yoyo Zhou

$122.46 USD since Jun 2018

6
Tim Oram

$120 USD since Mar 2017

7
Kyle Smith

$88 USD since Dec 2018

8
devongovett

$68 USD since Nov 2018

9
Marco Barcellos

$64 USD since Sep 2018

10
Pamela Fox

$60 USD since Jul 2017

sinon is all of us

Our contributors 86

Thank you for supporting sinon.

Airbnb

Sponsors

$5,738 USD

BitMEX

Sponsors

$2,100 USD

sandbox.mock(developers).expects('quality').atL...

Mixmax

Sponsors

$1,700 USD

Come join us! mixmax.com/careers

BuySellAds

$1,433 USD

Yannick Crois...

Backers

$780 USD

Routable

Sponsors

$300 USD

CryptoNewsZ

Sponsors

$300 USD

Lon Ingram

Backers

$250 USD

Budget


Transparent and open finances.

$
Today’s balance

$12,624.90 USD

Total raised

$14,475.92 USD

Total disbursed

$1,851.02 USD

Estimated annual budget

$5,669.61 USD

Connect


Let’s get the ball rolling!

News from sinon

Updates on our activities and progress.

Fundraiser: Better Sinon documentation

We are running a fundraiser to produce better documentation for Sinon, making it easier to use for everyone. Please see details at https://www.gofundme.com/f/sinon-docs Thank you 🙇‍♂️
Read more
Published on January 22, 2020 by Morgan Roderick

@sinonjs/referee-sinon v5.0.0 released

If you're a Sinon user, you may be interested in referee-sinon, which bundles Sinon and Referee in one package, so you only need a single dependency. It ships with additional assertions for Sinon fakes, like assert.calledOnceWith(stub, 1...
Read more
Published on December 17, 2018 by Maximilian Antoni

Sinon 7.2.0 and Referee 3.0.0 released

With the latest releases, the Sinon matchers are now shared through @sinonjs/samsam and can be used in @sinonjs/referee as well. Matchers allow you to be more fuzzy about the expected value. const { assert, match } = require("@sinonjs/re...
Read more
Published on December 10, 2018 by Maximilian Antoni

About


Sinon is an open source project that helps developers write tests for their JavaScript code. It is the number one stubbing and spying library for JavaScript (over 3.5 million downloads per week) and is used in companies like Zalando, Airbnb, Facebook. Sinon or parts of Sinon is integrated other test related projects such as Cypress and Jest.

This collective supports the team that is developing Sinon. The funds collected are intended to support dedicated staff, compensate those who are regularly contributing to Sinon, and hire freelancers to help with needs we can't otherwise meet. Funding also allows us to send team members to conferences, companies, and meetups to meet with our users to discuss and solve the problems they are facing.