Become a contributor

Financial contributions

Custom contribution

Donation

Make a custom one time or recurring contribution to support this collective.
+ 51

35 individuals and 20 organizations have contributed

Recurring contribution

Backers

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

Starts at

$2 USD / month

+ 28

20 individuals and 12 organizations have contributed

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

3 organizations have contributed

Top financial contributors

Organizations

1

Airbnb

$3k USD since Apr 2018

2

Mixmax

$2k USD since Jan 2018

3

Principal Financi...

$826 USD since Dec 2018

4

BitMEX

$400 USD since Dec 2019

5

BuySellAds

$390 USD since Dec 2019

6

CodePilot.ai

$200 USD since Apr 2018

7

Summit

$90 USD since Feb 2019

8

Open Collective Inc

$60 USD since Dec 2018

9

Metabolize

$50 USD since Mar 2018

10

Matter

$40 USD since Aug 2018

Individuals

1

Yannick Croissant

$270 USD since Jul 2019

2

Rens Groothuijsen

$240 USD since Aug 2017

3

Lon Ingram

$165 USD since Jul 2017

4

Mark Stacey

$117 USD since Feb 2017

5

Tim Oram

$92 USD since Mar 2017

6

Yoyo Zhou

$69 USD since Jun 2018

7

Marco Barcellos

$64 USD since Sep 2018

8

Pamela Fox

$60 USD since Jul 2017

9

Timothy Robinson

$56 USD since Oct 2017

10

Linlin Wang

$50 USD since Oct 2017

What's new with sinon

Stay up to dates with our latest 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 on the gofundme page.

Thank you 🙇‍♂️

/Morgan and the Sinon maintainers

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, 2) or refute.called(spy).

With this latest major release, it includes the latest Sinon (7.2) and Referee (3.1) versions. A highlight is the unified match interface which now let's you use any of the Sinon matchers in assert.equals and refute.equals.

You can import all the tools you need with a single destructuring assignment like this:

const { assert, refute, match, sinon } = require("@sinonjs/referee-sinon");

Give it a try and star the project on GitHub.

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/referee");

it("passes", function() {
    const object = { foo: 1, bar: "test" };

    assert.equals(object, {
        foo: 1,
        bar: match.string
    });
});

You can also write your own matchers for even more expressive assertions. Read the matcher API to learn more.

Published on December 10, 2018 by Maximilian Antoni

Budget

See how money openly circulates through sinon. All contributions and all expenses are published in our transparent public ledger. Learn who is donating, how much, where is that money going, submit expenses, get reimbursed and more!

Monthly financial contribution to sinon (Backers)

Reach Digital | 3/11/2020 | View Details 
+$2.00USD

Financial contribution to sinon

Elliot Foster | using a Gift card from Triplebyte | 3/6/2020 | View Details 
+$5.00USD

Financial contribution to sinon

BuySellAds | 3/5/2020 | View Details 
+$85.25USD

Today’s balance

$5,265.23 USD

Estimated annual budget

~ $4,737.31 USD

sinon is all of us

Our contributors 58

Everyone who has supported sinon. Individuals and organizations that believe in –and take ownership of– our purpose.

Morgan Roderick
Collective Admin
Maximilian An...
Collective Admin
Carl-Erik Kop...
Collective Admin
Airbnb
Financial Contributor

Total contributions

$2,899 USD

Sponsors

Mixmax
Financial Contributor

Total contributions

$1,700 USD

Come join us! mixmax.com/careers

Principal Fin...
Financial Contributor

Total contributions

$826 USD

BitMEX
Financial Contributor

Total contributions

$400 USD

sandbox.mock(developers).expects('quality').atLeast(Infinity);

BuySellAds
Financial Contributor

Total contributions

$390 USD

Yannick Crois...
Financial Contributor

Total contributions

$270 USD

Backers

Rens Groothui...
Financial Contributor

Total contributions

$240 USD

Backers

CodePilot.ai
Financial Contributor

Total contributions

$200 USD

Backers

Lon Ingram
Financial Contributor

Total contributions

$165 USD

Backers

About

This collective covers the work done in the the sinonjs organisation on GitHub.

Our best known project is sinon.

We've recently adopted related projects that had fallen out of maintenance, most notably referee, which is a great assertion library.