Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/sinonjs/sinon

Test spies, stubs and mocks for JavaScript.
https://github.com/sinonjs/sinon

Merge pull request #1217 from mroderick/make-docs-run-on-github-pages

Update Gemfile.lock to use latest supported Jekyll

173e222d6937a1f680f1bdb3a1605a8276907047 authored almost 8 years ago by Morgan Roderick <[email protected]>
Update Gemfile.lock to use latest supported Jekyll

Hopefully this makes Jekyll's collections work on GitHub Pages

c32b101810e6bf4f2aec761767d29997369dccbd authored almost 8 years ago by Morgan Roderick <[email protected]>
Fix #614: Add missing documentation for sandbox methods

16e0afba34e5f4ad43238b0b6112354960e74138 authored almost 8 years ago by Morgan Roderick <[email protected]>
Add missing documentation for stubs

18076521faece26f6077f7077d63de49342b56dc authored almost 8 years ago by Morgan Roderick <[email protected]>
Merge pull request #1213 from tiemevanveen/docs-restore

Added documentation for sinon.restore()

02bbc83650fcfacddee7b5a82d8889fa029c2d63 authored almost 8 years ago by Morgan Roderick <[email protected]>
Merge pull request #1214 from mroderick/fix-1026-in-2.x

Fix 1026 in 2.x

64ff97e5a4acfb79c396ec01f011efadfc9ec724 authored almost 8 years ago by Morgan Roderick <[email protected]>
Fix #1026: stub watch method on object

This is the fix proposed by @ajdaniel in [1]. Now that we have corrected the
faulty "does not wa...

31ecae0e4e89da94526d3cb6c082e4acc24be87e authored almost 8 years ago by Morgan Roderick <[email protected]>
Fix invalid test for "does not walk the same property twice"

The previous test only worked because of a faulty implementation in our source,
once that is fix...

dece6a28a0fff0708cef762fa6aaf9c25ef15335 authored almost 8 years ago by Morgan Roderick <[email protected]>
Add test for issue #1026

a1cb7be3d1894bf2971c1027ccd9b96393d096b2 authored almost 8 years ago by Morgan Roderick <[email protected]>
Fix 810 - Added documentation for sinon.restore()

25aea44d24e8968180906e1ddd2eae9ed072c7fb authored almost 8 years ago by Tieme van Veen <[email protected]>
Merge pull request #1210 from lucasfcosta/document-new-array-matchers

Add docs for new array matchers

c446844305e428322a32680365bd37e704392128 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Add docs for new array matchers

cd1e39684befdcb57e9c92f18e6e3f9cb37e6dd4 authored almost 8 years ago by lucasfcosta <[email protected]>
Array startsWith matcher fails when actual is not an array

3c9d6cfcee4a69e5dc49b41f3518a0a9641651e8 authored almost 8 years ago by lucasfcosta <[email protected]>
Array contains matcher fails when actual is not an array

bd9d57f9f7c1537932b7ff8b3d7054c0a7bfae62 authored almost 8 years ago by lucasfcosta <[email protected]>
Array endsWith matcher fails when actual is not an array

bec0b4fcc4b2dc0394c1189168c96138512cf527 authored almost 8 years ago by lucasfcosta <[email protected]>
Array deepEquals matcher fails when actual is not an array

a1e7f68c9379dd7a559b7bacba76942d44e9a268 authored almost 8 years ago by lucasfcosta <[email protected]>
Add .resolves and .rejects to stub (#1211)

* Add .resolves and .rejects to stub

This commit adds the possibility for a stub
to be confi...

2df140fa70283bfda84dd4b5ff4657bf575b233a authored almost 8 years ago by Florent Jaby <[email protected]>
Accept routing DSLs on fake server

b5d10a40daf02f5263ce078170ab8f8b934975f3 authored almost 8 years ago by lucasfcosta <[email protected]>
Merge pull request #1203 from jdgreenberger/add-expectation-diff-logs

Add expectation diff logs

a0c77c0b2d840ee0f76a7788a4fd405ea987cab2 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Convert remaining calledWith methods to use diff color formatting

6f346b345b49d7635e951e5a75036e04150babd0 authored almost 8 years ago by Josh Greenberger <[email protected]>
Color diffs for sinon matchers

92f76fac6321c59707b47056ad13f6eec9ba14a0 authored almost 8 years ago by Josh Greenberger <[email protected]>
Print diffs for multiple spy calls

4160e1412c1f03a55328ab602e4967992dfeb3f7 authored almost 8 years ago by Josh Greenberger <[email protected]>
Add new spy output formatter for handling diffs

c23c530500c2ecb04c605ba228e948b7363c5ec9 authored almost 8 years ago by Josh Greenberger <[email protected]>
Merge pull request #1208 from lucasfcosta/array-matchers

Array matchers

1924a89e1f476a1c033ec869b5a79de033575b08 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Add contains array matcher

363e3e46a7cab287e1f4cc2cc3cb379d21ee4f97 authored almost 8 years ago by lucasfcosta <[email protected]>
Add endsWith array matcher

987e56e985a7d97cbaf76c6b6b72651f2869a253 authored almost 8 years ago by lucasfcosta <[email protected]>
Add startsWith array matcher

460abac05ab84060020b2bb9682b18630c89976c authored almost 8 years ago by lucasfcosta <[email protected]>
Add deepEquals array matcher

bf95c9ce2f2f402bffb43db0406d2a68b6c9bdcb authored almost 8 years ago by lucasfcosta <[email protected]>
Add more array matchers

c85332400498fefb1d02d4c474bc56782a4ce3cd authored almost 8 years ago by lucasfcosta <[email protected]>
Merge pull request #1209 from lucasfcosta/avoid-unnecessary-empty-stub-creation

Avoid unnecessary empty stub creation

a465244969f38933b6f0520f7c4a31b0ec609059 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #1207 from hurrymaplelad/calls-fake

Replace `stub(o, 'm', fn)` with `stub(o, 'm').callsFake(fn)`

71214b497aaa1bd28e4d5262f1d2bca3c327b03e authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Extract deprecated.printWarning

46d260b004dff3ada7e1993192821cc66cfff4b1 authored almost 8 years ago by Adam Hull <[email protected]>
Move empty stub creation to avoid unnecessary stub.create

45f39521e1e1b0eec8bc1bc8bce9bf89679d7047 authored almost 8 years ago by lucasfcosta <[email protected]>
Fix typo on property name called 'matchingAguments'

4ff7e6e1f251d4b8495f734f8581f4436102ef5e authored almost 8 years ago by lucasfcosta <[email protected]>
Soften migration path with deprecation warning

edb0d6783cc82beaac43efaf4d0d76c9abbc356b authored almost 8 years ago by Adam Hull <[email protected]>
Update docs and migration guide

4f7d361c7b8d0bbc4c501d37669a865590991f7e authored almost 8 years ago by Adam Hull <[email protected]>
Convert 3 arg stub to callsFake

c65510702c3b018fb87292ab6744a3e3d767c508 authored almost 8 years ago by Adam Hull <[email protected]>
Merge pull request #1162 from dottedmag/master

XHR spec conformance: abort() should not dispatch readystatechange event in DONE state

7bb76137ef6181421509d04b9ef2912a6244b468 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #1184 from mroderick/fail-on-empty-property-descriptor

Fail on empty property descriptor

a34f567713c19053895929a548e5c09b3a2e5b38 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #1206 from fatso83/sinon-format-docs

Update format docs to refer to formatio

5bbc5d825715a3f434f4ed8e3cec656a54fee445 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #1204 from estobbart/master

Fix being able to spy Error

3f08c7763378cac8e82122c730b4005bede66e85 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Update format docs to refer to formatio

197ccc3103206d740012b47ff17b0ff6c11172cf authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Fix being able to spy Error

3b2e41072c8f3ece86f67f88c502b329f7728a1d authored almost 8 years ago by Eric Stobbart <[email protected]>
Merge pull request #1189 from mroderick/docs-in-github-pages

Prepare documentation using site in GitHub Pages

e3d0836e5c1e7443e94adf2ac2f8b0e1a35d2df3 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Prepare documentation using site in GitHub Pages

7bd43c98e48932679cca561fd428826a795e3e1a authored almost 8 years ago by Morgan Roderick <[email protected]>
Merge pull request #1180 from mroderick/add-documentation-for-assert.match

Add documentation for sinon.assert.match

f6e7916585c87d4669b149476f49da9b1eb0db43 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #1182 from mroderick/document-accessor-support

Add documentation for accessor method support for stubs and spies

63ea11d908ece2ef1a2cb1006c8d24de6df44ce4 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #1191 from LostArchives/master

Add link to LICENSE in README.md

456a1666c1175dae0468e270b7684b439cc1ce25 authored almost 8 years ago by Morgan Roderick <[email protected]>
Add link to LICENSE in README.md

346cb777626663c98c10f2bb417855b790481d01 authored almost 8 years ago by LostArchives <[email protected]>
Merge pull request #1188 from DanReyLop/verify-silenced-exceptions

Mock expectation errors are now re-thrown when calling mock.verify()

235abb4a86ed8654e0c2c9e236322700fa161449 authored almost 8 years ago by Morgan Roderick <[email protected]>
Add documentation for accessor method support for stubs and spies

f099ebd214d211068385ed99ef9bc9d96ff6862e authored almost 8 years ago by Morgan Roderick <[email protected]>
Merge pull request #1186 from mroderick/add-how-to-link-seam-commonjs

Add a how-to article about using links seams for CommonJS modules

f8dbb211a9136fea41237160293baf3b106ef39e authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Previous expectation failures are checked and re-thrown again in mock.verify()

fcc09ab059cbfee8830c5b2fa6ee2ec1ffcd520f authored almost 8 years ago by Daniel Rey Lopez <[email protected]>
Merge pull request #1178 from dottedmag/feature-xhr-set-status

Expose XHR.setStatus to simplify asynchronous answers

c4580474e3be32dd472725d43099a9d709f5c6ea authored almost 8 years ago by Morgan Roderick <[email protected]>
Expose XHR.setStatus to simplify asynchronous answers

Previously the only way to supply status was by calling XHR.respond,
which also set body. This i...

8f067e82ac80e6fcc09962e1ce46efd3bf373f2c authored almost 8 years ago by Mikhail Gusarov <[email protected]>
Fix typo

bfd3e75e7f3a7d8075dc527406d480f822d72fb5 authored almost 8 years ago by Morgan Roderick <[email protected]>
Add a how-to article about using links seams for CommonJS modules

9253b5f51c86e7128ad487886c25d8b8022a427b authored almost 8 years ago by Morgan Roderick <[email protected]>
2.0.0-pre.4

9622a73b060cc817bafafe8b4fe2c18486477dd0 authored almost 8 years ago by Morgan Roderick <[email protected]>
Merge pull request #1183 from jishi/master

Use last defined withArgs match when multiple conditions are met

f9350d87912a5e3890270790571cbe7ed808d831 authored almost 8 years ago by Morgan Roderick <[email protected]>
Use last matching withArgs declaration when using matchers

aa6f3b63951eb225cb3d5d7ac89498f423da10c1 authored almost 8 years ago by Jimmy Shimizu <[email protected]>
Fix whitespace conforming to linting rules

e6d2bd2b5640a5e5c6a12cdaf85e90e2fde729be authored almost 8 years ago by Jimmy Shimizu <[email protected]>
stub() will fail if passed an empty property descriptor

This fixes https://github.com/sinonjs/sinon/issues/1034

96b2b443dbd72931d9548a520f2cff28a718fa7e authored almost 8 years ago by Morgan Roderick <[email protected]>
Rename func argument to funcOrDescriptor

b459806abf38246494948bcdc9a68ad626b1a1fe authored almost 8 years ago by Morgan Roderick <[email protected]>
Merge pull request #1181 from mroderick/upgrade-mocha

Upgrade mocha and mochify

35fe7d815c373393ab6f9f73edfa6455ec09b7a0 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Upgrade mocha and mochify

This is to be rid of the warnings during install about regexp DoS issue.

https://snyk.io/vuln/n...

13f6ce65136d2278f122f5d469ee7c1b4e6807b6 authored almost 8 years ago by Morgan Roderick <[email protected]>
Add documentation for sinon.assert.match

48752111f4ba9329793ba641f4dc0da3bbe6c482 authored almost 8 years ago by Morgan Roderick <[email protected]>
XHR: test for readystatechange not dispatching after .abort() in DONE state

7787389ed4af0eb3e6e08b838987f8c6ce7ac791 authored almost 8 years ago by Mikhail Gusarov <[email protected]>
XHR: fix readystatechange event after .abort() in DONE state

XHR spec says readystatechange event should not fire
if .abort() is called when XHR is in DONE s...

21cc1a883a4368fcd88b818bd06eb0e3979dd054 authored almost 8 years ago by Mikhail Gusarov <[email protected]>
Add tests for xhr.readyState after abort()

550decd52db186b46acfafc1513c18120ff579c7 authored almost 8 years ago by Mikhail Gusarov <[email protected]>
Merge pull request #1173 from dottedmag/expose-constants

Expose readyState constants on XHR instances

4c2150ea488fee6cc92029f39b807aabf35884ed authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #1175 from dottedmag/xhr-onprogress

Fire .onprogress event handler in fake XHR

1d76e11576d5a98ef99d44c73dee03eb5cc4b160 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #1176 from dottedmag/implement-override-mimetype

Implement XHR.overrideMimeType

a10365a932f08f69fac38ddf3133ddc0a287bb4c authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Implement XHR.overrideMimeType

2a831f189ea40bb6d1383d78459358ad04156ab5 authored almost 8 years ago by Mikhail Gusarov <[email protected]>
Fire .onprogress event handler in fake XHR

8ec51d3f034c81573736d19476f8f3d3723d4e46 authored almost 8 years ago by Mikhail Gusarov <[email protected]>
Expose readyState constants on XHR instances

According to https://xhr.spec.whatwg.org/#states
readyState constants should be exposed by XHR i...

699c6dd474d406d3266f355ce4601da1d52f7947 authored almost 8 years ago by Mikhail Gusarov <[email protected]>
Merge pull request #1168 from fatso83/1063-rebased__fix-for-1061-unsafe-headers

Fix #1061: add configurable unsafe header checks

4ff653d9d81dbede151dbcf40a6d09eea2cc0be6 authored almost 8 years ago by Carl-Erik Kopseng <[email protected]>
Test that demonstrates that a mock can be called more times than expected without failing (if the exception is silenced).

adf883215d5092844f6dcb63995deca72bafc37d authored about 8 years ago by Daniel Rey Lopez <[email protected]>
Fix #1061: add configurable unsafe header checks

These headers can be configured on the fake server and the fake xmlhttprequest
objects

Closes #...

ea97add3d451c11b02ecef097eff5ec66b821998 authored about 8 years ago by Andrzej Porebski <[email protected]>
2.0.0-pre.3

f19ae7f16ae383a77f6a696dc2d975ff0b75bd62 authored about 8 years ago by Carl-Erik Kopseng <[email protected]>
Update Changelog

b7ce518e399552ba74a3fffa6f11cd74015220e2 authored about 8 years ago by Carl-Erik Kopseng <[email protected]>
Throw when sandbox.restore is given arguments (Fixes #1149) (#1150)

* Throw when sandbox.restore is given arguments
* Uses the simpler assert.exception

Fixes #1149

933c93a6dfde427dc67ecda0b78e5f5c3f8542a2 authored about 8 years ago by Eli White <[email protected]>
Merge pull request #1145 from fearphage/tweak-coveralls

Passed library path to coveralls to help it separate the code from the tests

1e0b2373219668a9676fd11506117cb824006df2 authored about 8 years ago by Phred <[email protected]>
help coveralls separate the code from the tests

c2fab40c0a35029503b50fc5e26f21023c2f28b3 authored about 8 years ago by Phred <[email protected]>
Added spy APIs to fake server - fixed #1126 (#1142)

Added spy APIs to fake server - fixed #1126

36a9e50477ad97b10a62ac9ae67a72c73038305d authored about 8 years ago by Phred <[email protected]>
Added coveralls.io for coverage tracking (#1144)

* added coveralls.io for coverage tracking

* Added coverage status badge to readme [ci skip]

8ff6d372e25977df8dd693bd51a8757f32360fea authored about 8 years ago by Phred <[email protected]>
Merge pull request #1141 from scriptdaemon/editorconfig-typo

Fix typo in .editorconfig

35d116462d268cc87262913b7afb8f2eab5bf178 authored about 8 years ago by Maximilian Antoni <[email protected]>
Fix typo in .editorconfig

07277f543e9ac10e88bab0ca9202a4817ae32ae9 authored about 8 years ago by Kenneth Williams <[email protected]>
Add chrome to SauceLabs tested browser list (#1134)

cda9ad1ea8c2c8d86d393a010ea3e2a6564cc93e authored about 8 years ago by Maximilian Antoni <[email protected]>
Merge pull request #1116 from jonnyreeves/feature/cjsify-fake-timers-tests

CJSify fake-timer tests

6698de57f9c74bc0a17c661ad5b0ed73d6408427 authored about 8 years ago by Maximilian Antoni <[email protected]>
CJSify `fake-xml-http-request` tests. (#1125)

Straight forward port.

ebc2662d58424dabfba204481acd2df704c8f6f5 authored about 8 years ago by John Reeves <[email protected]>
Feature/cjsify fake server tests (#1118)

* CJSify `fake-server-test`

Straight forward for the most-part, but the module still relies o...

f496861b2c26ec070b33bbd651072a02b35b5aad authored about 8 years ago by John Reeves <[email protected]>
Fixing a Markdown syntax error (#1123)

52cb770101aadf9f3cab93ceaaac3cd73dfea947 authored about 8 years ago by James M. Greene <[email protected]>
CJSify fake-timer tests

0a6cf06ec5ad88f45a984fc436d6bd618a5b92cf authored about 8 years ago by Jonny Reeves <[email protected]>
Remove chrome Browser Config

The ChromeDriver on saucelabs dies without running any tests; could be related to mantoni/mochif...

15168d7a66edc6787f8051372ad43c0c762eb5f6 authored about 8 years ago by John Reeves <[email protected]>
Update .min-wd

Patch up invalid JSON.

85a1d6bbeba44f856658d63c2152c60cedcddf26 authored about 8 years ago by John Reeves <[email protected]>
Update .min-wd

Run Chrome and Safari Tests on macOS; remove Opera platform.

0cbe673634344d612d9d4dca8180e66892a057cd authored about 8 years ago by John Reeves <[email protected]>
Add more browers

7d194ebe44b094e709f968d317ebc4ce4ea2354f authored about 8 years ago by Jonny Reeves <[email protected]>
Merge pull request #1090 from jonnyreeves/feature/v2-migration-guide

Add v2.0 Migration Guide

f074f01039e0fc0a6c7b9c12caa6369ef8b32632 authored about 8 years ago by Carl-Erik Kopseng <[email protected]>
Add Sinon v2 Migration Guide

* Add Migration Guide to docs
* Mark sinon core utils and sinon.Event as deprecated.
* Update `R...

c48c50539526852193a207b33f704627afd1a6db authored about 8 years ago by Jonny Reeves <[email protected]>
Add `BUILD_NUMBER` to Saucelabs config

55459ea99bb88070c82c61c7417df0013d6c8d33 authored about 8 years ago by Jonny Reeves <[email protected]>