Ecosyste.ms: OpenCollective

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

sinon

We provide the most widely used stubbing library for JavaScript with ~7M weekly downloads
Collective - Host: opensource - https://opencollective.com/sinon - Code: https://github.com/sinonjs/sinon

work to support IE 6

github.com/sinonjs/sinon - 90980c01df5400196589f5092ce0b0a57199cf95 authored almost 13 years ago by Tim Ruffles <[email protected]>
fix up old IEs

github.com/sinonjs/sinon - fd13e67f6c829210904b7b76a25839264c53217f authored almost 13 years ago by Tim Ruffles <[email protected]>
Merge branch 'master' of github.com:cjohansen/Sinon.JS

github.com/sinonjs/sinon - b4f6f7a9509d047e0a6ae4942049f677775baf0a authored almost 13 years ago by Christian Johansen <[email protected]>
Unnecessary whitespace

github.com/sinonjs/sinon - f6e4f6229f72edfcfea2e88681a6214496560a34 authored almost 13 years ago by Christian Johansen <[email protected]>
Merge pull request #57 from gravof/master

Add stub.returnsArg()

github.com/sinonjs/sinon - c8e45bf7f0f03b568e08d06378fb4619e7abed1f authored almost 13 years ago by Christian Johansen <[email protected]>
Merge pull request #53 from gravof/patch-1

Make server.respond() accept the same arguments as server.respondWith() does

github.com/sinonjs/sinon - 3756381c995154714d0f39f3bf0a278bc4694f6c authored almost 13 years ago by Christian Johansen <[email protected]>
Add stub.returnsArg() implementation

github.com/sinonjs/sinon - 97d945237cb7cf8c88c354c46fc43f357e5e6d7f authored almost 13 years ago by Gavin Huang <[email protected]>
Add server.respond() test

github.com/sinonjs/sinon - 7c00b16c75412bd93da5ace3004001af1d204bef authored almost 13 years ago by Gavin Huang <[email protected]>
Merge pull request #54 from felixge/stub-prototype-properties

Make stub work for prototype methods

github.com/sinonjs/sinon - cd7f8bb423eca3b56f9119a1745d4fbb977e691f authored almost 13 years ago by Christian Johansen <[email protected]>
Add stub.returnsArg() test case

github.com/sinonjs/sinon - e5ba26760958f90ffbe7adae8e5562010e1c0c71 authored almost 13 years ago by Gavin Huang <[email protected]>
Use 4-space indention

github.com/sinonjs/sinon - f28a2aa1b6f0dc54f9926549ee21f25ee9a0d7b2 authored almost 13 years ago by Felix Geisendörfer <[email protected]>
Fix bug in last commit

Only stub functions, not properties. Added a test for this as there
was none so far.

github.com/sinonjs/sinon - 01e157f271ae6d2ccff373dc8e1001cd0eea94a2 authored almost 13 years ago by Felix Geisendörfer <[email protected]>
Simplify as discussed with @cjohansen

github.com/sinonjs/sinon - bbf586fa61fa262565a631cd0d545485a2e16f18 authored almost 13 years ago by Felix Geisendörfer <[email protected]>
Merge pull request #55 from felixge/master

Fix npm install warning

github.com/sinonjs/sinon - 86a2f72e4592a4eca14834634801adf9d6f43a59 authored almost 13 years ago by Christian Johansen <[email protected]>
Merge pull request #56 from DomenicDenicola/patch-1

Fixing fake `setTimeout` to return ids greater than 0.

github.com/sinonjs/sinon - c289e477f281b289b1c32da42158bbcfde5043b7 authored almost 13 years ago by Christian Johansen <[email protected]>
Fixing fake `setTimeout` to return ids greater than 0.

As per the spec at http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#time...

github.com/sinonjs/sinon - 78dc5b455eb7472670eb52d2986a6ed64853cda6 authored almost 13 years ago by Domenic Denicola <[email protected]>
Fix npm install warning

Without this, npm would always display the following when installing
sinon:

npm WARN [email protected]....

github.com/sinonjs/sinon - 81519a723428afc62d55a20121874a901b813b9f authored almost 13 years ago by Felix Geisendörfer <[email protected]>
Make stub work for prototype methods

This is incredibly useful if you work with named constructors and
prototype methods.

github.com/sinonjs/sinon - 1c28a55812b0b2577af1a6c31449d2d9d8e389ef authored almost 13 years ago by Felix Geisendörfer <[email protected]>
Make server.respond() accept the same arguments as server.respondWith() does

github.com/sinonjs/sinon - f06875c8582fc633853b4825b821b8e76fad8eea authored almost 13 years ago by Gavin Huang <[email protected]>
Merge pull request #52 from mantoni/master

Added invokeCallback to spy API as an alias for yield

github.com/sinonjs/sinon - aeee710f22704c4eff14ae4df9ceb78cba84a3d2 authored almost 13 years ago by Christian Johansen <[email protected]>
Added invokeCallback to spy API as an alias for yield.

github.com/sinonjs/sinon - 139f664c50696a448cbb1d86401a22c39f55acc2 authored almost 13 years ago by Max Antoni <[email protected]>
Merge pull request #50 from felixge/gh-27

Fix: Fake timers were swallowing exceptions

github.com/sinonjs/sinon - a556aa5f77501db1bf2dbcf831ef1c8ea354f056 authored almost 13 years ago by Christian Johansen <[email protected]>
Fix: Fake timers were swallowing exceptions

Currently clock.tick() was executing fake timer callbacks inside a
try...catch block which would...

github.com/sinonjs/sinon - 9a3e6a5717f3afd7682c254fccb6ebdfcaa08231 authored almost 13 years ago by Felix Geisendörfer <[email protected]>
ie compat

github.com/sinonjs/sinon - ec8582359af5798d497ba8df3a376eb5da78d85d authored almost 13 years ago by Tim Ruffles <[email protected]>
fix naming, avoid test contamination

github.com/sinonjs/sinon - 2bb72f62e6acc32055f569f32744b7be9b4414f3 authored almost 13 years ago by Tim Ruffles <[email protected]>
naming conventions - Xhr to XHR, missing sinon.xhr. fixed, cleanup

github.com/sinonjs/sinon - 58cc8c36cb5ff0b3e0728ceed11cf0f5311269e8 authored almost 13 years ago by Tim Ruffles <[email protected]>
Friendly error when responding with a non-string

- FakeXMLHttpRequest.prototype.setResponseBody expects a string,
be explicit about it, and fai...

github.com/sinonjs/sinon - 46bc63599f1df3284f0d67f5eba1c838c0f8652d authored almost 13 years ago by Christian Johansen <[email protected]>
Properly expose all needed asserts for node

github.com/sinonjs/sinon - 7bfe683a05239d0aa7b148985ea44a68c09c4c00 authored almost 13 years ago by Christian Johansen <[email protected]>
Honouring contributors

github.com/sinonjs/sinon - de2f168f368722fb8c23c86ae7b836f32782e96a authored almost 13 years ago by Christian Johansen <[email protected]>
Merge pull request #48 from neonstalwart/patch-1

add quotes for strict mode reserved word - "yield".

github.com/sinonjs/sinon - 02d47932c58ef84604fa1cd4ef76f45b4e81c338 authored almost 13 years ago by Christian Johansen <[email protected]>
add quotes for strict mode reserved word - "yield".

github.com/sinonjs/sinon - 285761faf2c914b937539244e9dad5f36733b086 authored almost 13 years ago by Ben Hockey <[email protected]>
Merge pull request #46 from mantoni/yield

Additional spy functions

github.com/sinonjs/sinon - 828f489155bcd7e343dfc613640935cd90d39e58 authored almost 13 years ago by Christian Johansen <[email protected]>
Fixed reset since it did not reset new call shortcuts. Default value for call shortcuts is now null. Shortened invoke implementation. Folded callArg, callArgWith, yield and yieldTo into delegateToCall.

github.com/sinonjs/sinon - df8a7454041987d28282df6b1ff2c2612859ace9 authored almost 13 years ago by Max Antoni <[email protected]>
test name

github.com/sinonjs/sinon - 5a018154720582c9c42cc24e96373522d9bb29e0 authored almost 13 years ago by Tim Ruffles <[email protected]>
fix inconsistent indentation

github.com/sinonjs/sinon - 982bd01dbb4980b21d4d7ad993ef94e64c5f2dbe authored almost 13 years ago by Tim Ruffles <[email protected]>
reinstate test name

github.com/sinonjs/sinon - b79b260c91761ce844ae8ac62abb31aed5285e90 authored almost 13 years ago by Tim Ruffles <[email protected]>
ensure legacy handlers are called

github.com/sinonjs/sinon - d899b89956f8c6928f046d425bb954f106e9f222 authored almost 13 years ago by Tim Ruffles <[email protected]>
method forwarding working

github.com/sinonjs/sinon - b3443823360fdf07e89fa8885b1bd01a530ab19d authored almost 13 years ago by Tim Ruffles <[email protected]>
state change test passing

github.com/sinonjs/sinon - bb72f83596ee1bdfdd60a4db0bdd61ba714661bd authored almost 13 years ago by Tim Ruffles <[email protected]>
move tests and implementation over to latest version

github.com/sinonjs/sinon - 6f0232553a6ef4d8df1a7ec455a31f4f73972070 authored almost 13 years ago by Tim Ruffles <[email protected]>
Added support for spy.yield, spy.yieldTo, spy.firstCall, spy.secondCall, spy.thirdCall and spy.lastCall.

github.com/sinonjs/sinon - fe73ee078d9ea26f113e2382c54c4f1d43c73335 authored almost 13 years ago by Max Antoni <[email protected]>
Added spy.callArg and spy.callArgWith.

github.com/sinonjs/sinon - 06cc84642c6274d3813769bab724343b3033b6ac authored about 13 years ago by Max Antoni <[email protected]>
Merge pull request #45 from mantoni/master

callArg, callArgWith, yield and yieldTo for spy calls

github.com/sinonjs/sinon - 353ea0b2127f6132c46749665101c1ea83d7865c authored about 13 years ago by Christian Johansen <[email protected]>
Added callArg, callArgWith, yield and yieldTo to spy calls.

github.com/sinonjs/sinon - 9dab6150f3c8fac75785fad05851ca7b3817b83b authored about 13 years ago by Max Antoni <[email protected]>
Merge pull request #44 from mantoni/master

Fix for issue 42

github.com/sinonjs/sinon - 4fef71c2c47d9dc11c1db3680a93c77df7cc741b authored about 13 years ago by Christian Johansen <[email protected]>
Added test case and fix for wrapMethod on window property. Fixes issue #42

github.com/sinonjs/sinon - f2a49264a031c07772da9361163ec83eda221882 authored about 13 years ago by Max Antoni <[email protected]>
Once is enough

github.com/sinonjs/sinon - 5d9fd613a19be1f5458bb11041536adce3c6ecb0 authored about 13 years ago by Christian Johansen <[email protected]>
Metadata for 1.2.0

github.com/sinonjs/sinon - 433a381fe0d383c6f1f34997d0e04bfa5f12ab25 authored about 13 years ago by Christian Johansen <[email protected]>
Don't assume request.requestBody is a string

- Would fail when getting the HTTP verb from an improperly prepared server
response
- Closes i...

github.com/sinonjs/sinon - 29ae0383c3291843df06e94e1ef53ebd6064edbe authored about 13 years ago by Christian Johansen <[email protected]>
Remove direct calls to Array.prototype.push

- Only call a cached copy of the method internally in Sinon
- Avoids tripping up Sinon if user s...

github.com/sinonjs/sinon - 22ed6c4a009dddc7091947ada1064306d594f717 authored about 13 years ago by Christian Johansen <[email protected]>
Remove non-API method sinon.keys

The method is no longer being used

github.com/sinonjs/sinon - ad1625090353c493ddceeae232063fff421afbe6 authored about 13 years ago by Christian Johansen <[email protected]>
Resolve merge conflict

github.com/sinonjs/sinon - b21a027dd992092dea73c98a7ff590ee701fba7f authored about 13 years ago by Christian Johansen <[email protected]>
Refactor assert module; less duplication

- Extract two call order helpers to sinon main module
- Reduce function lengths
- Reduce amount ...

github.com/sinonjs/sinon - 322da194869689b9f247787d19d8b91abd4031f4 authored about 13 years ago by Christian Johansen <[email protected]>
Extract spy formatting from asserts to spy.printf

- Introduce extensible spy.printf(format) method to format a fake
- Extensible by adding methods...

github.com/sinonjs/sinon - 7409f4e200864eb808c7c36e1e0b673592ee0ae4 authored about 13 years ago by Christian Johansen <[email protected]>
Add sinon.timesInWords to reduce duplication

- Refactor mock and assert modules to share implementation

github.com/sinonjs/sinon - f4cbf33689219b75aebe64598f813d1fd82e7ad5 authored about 13 years ago by Christian Johansen <[email protected]>
Gracefully skip DOM tests when no DOM

github.com/sinonjs/sinon - 2cc8b302ae647bcc63ce9fbc66f45e6aeaa33efe authored about 13 years ago by Christian Johansen <[email protected]>
Spelling correction in disabled test output

github.com/sinonjs/sinon - 05749dda9434d79a7ed0d747853c469145678deb authored about 13 years ago by Christian Johansen <[email protected]>
Merge pull request #39 from trrbocharged/master

Fix for restoring a non-owned method

github.com/sinonjs/sinon - 144429abbf6992d989a2dbca390feea78af2a268 authored about 13 years ago by Christian Johansen <[email protected]>
When wrapping a non-owned property, restore should remove the wrapper instead of replacing it.

github.com/sinonjs/sinon - 5ee67dcaa47f0d66a91e94d331f482fc5aecacd8 authored about 13 years ago by Will Butler <[email protected]>
Merge pull request #37 from mantoni/neverCalledWith

Spy never called with arguments

github.com/sinonjs/sinon - 7bb4695b85f500829733a11349aa8be63c51c5a9 authored about 13 years ago by Christian Johansen <[email protected]>
Add contributor

github.com/sinonjs/sinon - f32465edbfc522eb132df9d593c8448575cfd448 authored about 13 years ago by Christian Johansen <[email protected]>
Merge pull request #38 from wdso/abort

abort() switches state to DONE when OPENED and sent

github.com/sinonjs/sinon - 2136688966f3ad015ab5950ca43bd6c8b0e0598c authored about 13 years ago by Christian Johansen <[email protected]>
Changed explicit Boolean conversion to !!

github.com/sinonjs/sinon - af97d67d9101500367f94cec0a21a497910b3ade authored about 13 years ago by Max Antoni <[email protected]>
abort() switches state to DONE when OPENED and sent

See http://www.w3.org/TR/XMLHttpRequest2/#the-abort-method.

github.com/sinonjs/sinon - 9fa56053ea46afc44515c28dc2fe5713a4a0e43c authored about 13 years ago by Tristan Koch <[email protected]>
Add contributor

github.com/sinonjs/sinon - eebf5b169167958f386e64d118aec6dadd181100 authored about 13 years ago by Christian Johansen <[email protected]>
Merge pull request #36 from wdso/d1ca5f65565fb02c1d7bb521481683ac5fa798f1

Purge references to restored functions in fakeCollection

github.com/sinonjs/sinon - ece963a91ac0d9c2535756dbcc0afce48e7f406e authored about 13 years ago by Christian Johansen <[email protected]>
Remove bogus check

github.com/sinonjs/sinon - 35c1e0864345c2974ca2591bc48bca921b1fa789 authored about 13 years ago by Tristan Koch <[email protected]>
Improve collection test

github.com/sinonjs/sinon - 2437b9878a5ec1f298706374f612e965d32607c8 authored about 13 years ago by Tristan Koch <[email protected]>
Remove restored functions from fakeCollection

github.com/sinonjs/sinon - 53a80c6fc04e3866c96f6a281da89ab07bcc00f2 authored about 13 years ago by Tristan Koch <[email protected]>
Added sinon.assert.neverCalledWith.

github.com/sinonjs/sinon - 99a5a5b5414f5aeb186f5f94af4904912b3421a9 authored about 13 years ago by Max Antoni <[email protected]>
Added notCalledWith to spy call.

Added neverCalledWith to spy.

github.com/sinonjs/sinon - b58afdd957a09b021a1e4fb6e8537a23fa20ee95 authored about 13 years ago by Max Antoni <[email protected]>
Merge pull request #32 from ibolmo/master

Case-Insensitive ActiveXObject for enabling fakeXHR.

github.com/sinonjs/sinon - 2175f32d81f670cf3fa129c0c30aea5d79e288b5 authored about 13 years ago by Christian Johansen <[email protected]>
Making the test in ActiveXObject case-insensitive. Fixes MooTools which uses `'MSXML2.XMLHTTP'`, as objectId.

github.com/sinonjs/sinon - 7eb88b175f7bcba362e958b5b2185af60e4f80bd authored about 13 years ago by Olmo Maldonado <[email protected]>
Add node.js test runner and adjust tests accordingly. Temporary fix.

- Refactored the Rhino tools to work for node too
- Modify require's to be local
- Modify Assert...

github.com/sinonjs/sinon - e7994da5071a5aba86add18b5e76b6b783234fb2 authored over 13 years ago by Christian Johansen <[email protected]>
Simplify the `new' inference to only look for thisObject instanceof Constructor

Allows detection of constructors that return objects explicitly

github.com/sinonjs/sinon - 90b4af9bbf0273bfc8a54da998272cfd83f00407 authored over 13 years ago by Christian Johansen <[email protected]>
Facepalm commit - fix previous over-eager stupidity

github.com/sinonjs/sinon - 1b42e1a5e77db72c0b51801d3917c7a14a5d0254 authored over 13 years ago by Christian Johansen <[email protected]>
Remove unused variables in test

github.com/sinonjs/sinon - 302d69eeec7457d39d35e9436d618bef2570a5d7 authored over 13 years ago by Christian Johansen <[email protected]>
Add sinon.spy.calledWithNew to check if a function was used as a constructor

github.com/sinonjs/sinon - 95f200cabd1e5bea5eb3034710f5f9b74f1b047f authored over 13 years ago by Christian Johansen <[email protected]>
Inline calls to mock.fail

github.com/sinonjs/sinon - 328ea4fabd144b996303eda8b8977060d4d63540 authored over 13 years ago by Christian Johansen <[email protected]>
Publicly expose sinon.expectation.fail

github.com/sinonjs/sinon - 056f706656df695ee16a254f05e17d7e6e932ea0 authored over 13 years ago by Christian Johansen <[email protected]>
Update build script to include new event.js file

github.com/sinonjs/sinon - 4e10b0ae11c1a0a0900db110a05942da6e450a8b authored over 13 years ago by Christian Johansen <[email protected]>
Add minimal implementation of the DOM Event interface to fake XHRs

- Allows Sinon to play well with SproutCore and others that use
xhr.addEventListener("readysta...

github.com/sinonjs/sinon - cfcf24a5f3f17c53e5928670dac84d85acc44cf0 authored over 13 years ago by Christian Johansen <[email protected]>
Up version

github.com/sinonjs/sinon - 2d1ece0a1c285192afada4169eb00b4bcc59f454 authored over 13 years ago by Christian Johansen <[email protected]>
Fix issue #18: sinon.spyCall is not exposed properly in CommonJS

github.com/sinonjs/sinon - c53f1047d4b181f3ee109f1c6a41f7f9b0544a1b authored over 13 years ago by Christian Johansen <[email protected]>
Fix DontEnum bug in extend causing a mock expectation's toString not to be copied in IE

github.com/sinonjs/sinon - 4177070245e75dac8b7bc9f23dd6964d6181f620 authored over 13 years ago by Christian Johansen <[email protected]>
Up version

github.com/sinonjs/sinon - 8227f5de23a1dac9cb18a5af6be3b919d51382d5 authored over 13 years ago by Christian Johansen <[email protected]>
Final tweaks in changelog

github.com/sinonjs/sinon - 3c9ba095b3e507141fbea91413d504474ee73ce1 authored over 13 years ago by Christian Johansen <[email protected]>
Update changelog for 1.1.0

github.com/sinonjs/sinon - ddbb94dabdd7b8e5243a18874bb64cf0ef6c8028 authored over 13 years ago by Christian Johansen <[email protected]>
Allow sandboxes/collections to stub any property

- Only requirement is that the object.hasOwnProperty(property)

github.com/sinonjs/sinon - dd2074aa0f36fa3fb8038cfb1142ceef20e8368c authored over 13 years ago by Christian Johansen <[email protected]>
Allow mock expectations to be consumed in any order; significantly improve errors

- Fixes a bug where expectations where mistakenly only considered in
the order set.
- Adds a n...

github.com/sinonjs/sinon - 0433acc25f1dc40c16686a1f49974fcf980c9322 authored over 13 years ago by Christian Johansen <[email protected]>
Add pretty printing of all calls when assertions fail

- Adds a sinon.format hook to allow third-party object formatters
- Adds a toString method on sp...

github.com/sinonjs/sinon - e0efdd002a71e4d57cb8c492601a52e4fd11d6c5 authored over 13 years ago by Christian Johansen <[email protected]>
Fix bug: Exception message ended up as "undefined" (string) if not specified

github.com/sinonjs/sinon - 8a11075f9119754254bfc9a65a1c07b4ddd560c4 authored over 13 years ago by Christian Johansen <[email protected]>
Pass capture groups in URLs to fakeServer function handlers

When using the fakeServer for mockup development, it's convenient
to be able to quickly mock ser...

github.com/sinonjs/sinon - 268a882d9f07f8f1976b7f7daf1ac2459ec1df64 authored over 13 years ago by Christian Johansen <[email protected]>
Merge branch 'filtered_fakes'

Conflicts:
lib/sinon/stub.js
test/sinon/spy_test.js
test/sinon/stub_test.js

github.com/sinonjs/sinon - 855a218554cd363d94ce0a4be9be6655b18ddb9f authored over 13 years ago by Christian Johansen <[email protected]>
Pass through result from test function in testCase

Adds tests and ensure this also happens when there's setUp and tearDown

github.com/sinonjs/sinon - ac655a9639772f6f2853d3f76174e1aeddf2efba authored over 13 years ago by Christian Johansen <[email protected]>
typeof require is not enough to detect node, also use typeof module

github.com/sinonjs/sinon - 3166874be8e83c3830733694fca8d769b34dff47 authored over 13 years ago by Christian Johansen <[email protected]>
Honour contributors

github.com/sinonjs/sinon - e49b64e16762c53153aa56d2ab21ff51bf5a9068 authored over 13 years ago by Christian Johansen <[email protected]>
Don't use Object.create in sinon.create. In the off chance that someone stubs it, sinon will fail mysteriously

github.com/sinonjs/sinon - 9235e1bbd912d2529447f638fe437a85330f8a66 authored over 13 years ago by Christian Johansen <[email protected]>
Add contributor

github.com/sinonjs/sinon - e82f578ee046edea3399152cf46c7bcad8829c46 authored over 13 years ago by Christian Johansen <[email protected]>
Merge branch 'master' of https://github.com/svenfuchs/Sinon.JS into svenfuchs-master

github.com/sinonjs/sinon - ce2e067df82a27fb3533888e2ad64ecf3b0ab337 authored over 13 years ago by Christian Johansen <[email protected]>