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
github.com/sinonjs/sinon - 90980c01df5400196589f5092ce0b0a57199cf95 authored almost 13 years ago by Tim Ruffles <[email protected]>
github.com/sinonjs/sinon - fd13e67f6c829210904b7b76a25839264c53217f authored almost 13 years ago by Tim Ruffles <[email protected]>
github.com/sinonjs/sinon - b4f6f7a9509d047e0a6ae4942049f677775baf0a authored almost 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - f6e4f6229f72edfcfea2e88681a6214496560a34 authored almost 13 years ago by Christian Johansen <[email protected]>
Add stub.returnsArg()
github.com/sinonjs/sinon - c8e45bf7f0f03b568e08d06378fb4619e7abed1f authored almost 13 years ago by Christian Johansen <[email protected]>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]>github.com/sinonjs/sinon - 97d945237cb7cf8c88c354c46fc43f357e5e6d7f authored almost 13 years ago by Gavin Huang <[email protected]>
github.com/sinonjs/sinon - 7c00b16c75412bd93da5ace3004001af1d204bef authored almost 13 years ago by Gavin Huang <[email protected]>
Make stub work for prototype methods
github.com/sinonjs/sinon - cd7f8bb423eca3b56f9119a1745d4fbb977e691f authored almost 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - e5ba26760958f90ffbe7adae8e5562010e1c0c71 authored almost 13 years ago by Gavin Huang <[email protected]>
github.com/sinonjs/sinon - f28a2aa1b6f0dc54f9926549ee21f25ee9a0d7b2 authored almost 13 years ago by Felix Geisendörfer <[email protected]>
Only stub functions, not properties. Added a test for this as there
was none so far.
github.com/sinonjs/sinon - bbf586fa61fa262565a631cd0d545485a2e16f18 authored almost 13 years ago by Felix Geisendörfer <[email protected]>
Fix npm install warning
github.com/sinonjs/sinon - 86a2f72e4592a4eca14834634801adf9d6f43a59 authored almost 13 years ago by Christian Johansen <[email protected]>Fixing fake `setTimeout` to return ids greater than 0.
github.com/sinonjs/sinon - c289e477f281b289b1c32da42158bbcfde5043b7 authored almost 13 years ago by Christian Johansen <[email protected]>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]>
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]>
This is incredibly useful if you work with named constructors and
prototype methods.
github.com/sinonjs/sinon - f06875c8582fc633853b4825b821b8e76fad8eea authored almost 13 years ago by Gavin Huang <[email protected]>
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]>github.com/sinonjs/sinon - 139f664c50696a448cbb1d86401a22c39f55acc2 authored almost 13 years ago by Max Antoni <[email protected]>
Fix: Fake timers were swallowing exceptions
github.com/sinonjs/sinon - a556aa5f77501db1bf2dbcf831ef1c8ea354f056 authored almost 13 years ago by Christian Johansen <[email protected]>
Currently clock.tick() was executing fake timer callbacks inside a
try...catch block which would...
github.com/sinonjs/sinon - ec8582359af5798d497ba8df3a376eb5da78d85d authored almost 13 years ago by Tim Ruffles <[email protected]>
github.com/sinonjs/sinon - 2bb72f62e6acc32055f569f32744b7be9b4414f3 authored almost 13 years ago by Tim Ruffles <[email protected]>
github.com/sinonjs/sinon - 58cc8c36cb5ff0b3e0728ceed11cf0f5311269e8 authored almost 13 years ago by Tim Ruffles <[email protected]>
- FakeXMLHttpRequest.prototype.setResponseBody expects a string,
be explicit about it, and fai...
github.com/sinonjs/sinon - 7bfe683a05239d0aa7b148985ea44a68c09c4c00 authored almost 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - de2f168f368722fb8c23c86ae7b836f32782e96a authored almost 13 years ago by Christian Johansen <[email protected]>
add quotes for strict mode reserved word - "yield".
github.com/sinonjs/sinon - 02d47932c58ef84604fa1cd4ef76f45b4e81c338 authored almost 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - 285761faf2c914b937539244e9dad5f36733b086 authored almost 13 years ago by Ben Hockey <[email protected]>
Additional spy functions
github.com/sinonjs/sinon - 828f489155bcd7e343dfc613640935cd90d39e58 authored almost 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - df8a7454041987d28282df6b1ff2c2612859ace9 authored almost 13 years ago by Max Antoni <[email protected]>
github.com/sinonjs/sinon - 5a018154720582c9c42cc24e96373522d9bb29e0 authored almost 13 years ago by Tim Ruffles <[email protected]>
github.com/sinonjs/sinon - 982bd01dbb4980b21d4d7ad993ef94e64c5f2dbe authored almost 13 years ago by Tim Ruffles <[email protected]>
github.com/sinonjs/sinon - b79b260c91761ce844ae8ac62abb31aed5285e90 authored almost 13 years ago by Tim Ruffles <[email protected]>
github.com/sinonjs/sinon - d899b89956f8c6928f046d425bb954f106e9f222 authored almost 13 years ago by Tim Ruffles <[email protected]>
github.com/sinonjs/sinon - b3443823360fdf07e89fa8885b1bd01a530ab19d authored almost 13 years ago by Tim Ruffles <[email protected]>
github.com/sinonjs/sinon - bb72f83596ee1bdfdd60a4db0bdd61ba714661bd authored almost 13 years ago by Tim Ruffles <[email protected]>
github.com/sinonjs/sinon - 6f0232553a6ef4d8df1a7ec455a31f4f73972070 authored almost 13 years ago by Tim Ruffles <[email protected]>
github.com/sinonjs/sinon - fe73ee078d9ea26f113e2382c54c4f1d43c73335 authored almost 13 years ago by Max Antoni <[email protected]>
github.com/sinonjs/sinon - 06cc84642c6274d3813769bab724343b3033b6ac authored about 13 years ago by Max Antoni <[email protected]>
callArg, callArgWith, yield and yieldTo for spy calls
github.com/sinonjs/sinon - 353ea0b2127f6132c46749665101c1ea83d7865c authored about 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - 9dab6150f3c8fac75785fad05851ca7b3817b83b authored about 13 years ago by Max Antoni <[email protected]>
Fix for issue 42
github.com/sinonjs/sinon - 4fef71c2c47d9dc11c1db3680a93c77df7cc741b authored about 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - f2a49264a031c07772da9361163ec83eda221882 authored about 13 years ago by Max Antoni <[email protected]>
github.com/sinonjs/sinon - 5d9fd613a19be1f5458bb11041536adce3c6ecb0 authored about 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - 433a381fe0d383c6f1f34997d0e04bfa5f12ab25 authored about 13 years ago by Christian Johansen <[email protected]>
- Would fail when getting the HTTP verb from an improperly prepared server
response
- Closes i...
- Only call a cached copy of the method internally in Sinon
- Avoids tripping up Sinon if user s...
The method is no longer being used
github.com/sinonjs/sinon - ad1625090353c493ddceeae232063fff421afbe6 authored about 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - b21a027dd992092dea73c98a7ff590ee701fba7f authored about 13 years ago by Christian Johansen <[email protected]>
- Extract two call order helpers to sinon main module
- Reduce function lengths
- Reduce amount ...
- Introduce extensible spy.printf(format) method to format a fake
- Extensible by adding methods...
- Refactor mock and assert modules to share implementation
github.com/sinonjs/sinon - f4cbf33689219b75aebe64598f813d1fd82e7ad5 authored about 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - 2cc8b302ae647bcc63ce9fbc66f45e6aeaa33efe authored about 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - 05749dda9434d79a7ed0d747853c469145678deb authored about 13 years ago by Christian Johansen <[email protected]>
Fix for restoring a non-owned method
github.com/sinonjs/sinon - 144429abbf6992d989a2dbca390feea78af2a268 authored about 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - 5ee67dcaa47f0d66a91e94d331f482fc5aecacd8 authored about 13 years ago by Will Butler <[email protected]>
Spy never called with arguments
github.com/sinonjs/sinon - 7bb4695b85f500829733a11349aa8be63c51c5a9 authored about 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - f32465edbfc522eb132df9d593c8448575cfd448 authored about 13 years ago by Christian Johansen <[email protected]>
abort() switches state to DONE when OPENED and sent
github.com/sinonjs/sinon - 2136688966f3ad015ab5950ca43bd6c8b0e0598c authored about 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - af97d67d9101500367f94cec0a21a497910b3ade authored about 13 years ago by Max Antoni <[email protected]>
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]>github.com/sinonjs/sinon - eebf5b169167958f386e64d118aec6dadd181100 authored about 13 years ago by Christian Johansen <[email protected]>
Purge references to restored functions in fakeCollection
github.com/sinonjs/sinon - ece963a91ac0d9c2535756dbcc0afce48e7f406e authored about 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - 35c1e0864345c2974ca2591bc48bca921b1fa789 authored about 13 years ago by Tristan Koch <[email protected]>
github.com/sinonjs/sinon - 2437b9878a5ec1f298706374f612e965d32607c8 authored about 13 years ago by Tristan Koch <[email protected]>
github.com/sinonjs/sinon - 53a80c6fc04e3866c96f6a281da89ab07bcc00f2 authored about 13 years ago by Tristan Koch <[email protected]>
github.com/sinonjs/sinon - 99a5a5b5414f5aeb186f5f94af4904912b3421a9 authored about 13 years ago by Max Antoni <[email protected]>
Added neverCalledWith to spy.
github.com/sinonjs/sinon - b58afdd957a09b021a1e4fb6e8537a23fa20ee95 authored about 13 years ago by Max Antoni <[email protected]>Case-Insensitive ActiveXObject for enabling fakeXHR.
github.com/sinonjs/sinon - 2175f32d81f670cf3fa129c0c30aea5d79e288b5 authored about 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - 7eb88b175f7bcba362e958b5b2185af60e4f80bd authored about 13 years ago by Olmo Maldonado <[email protected]>
- Refactored the Rhino tools to work for node too
- Modify require's to be local
- Modify Assert...
Allows detection of constructors that return objects explicitly
github.com/sinonjs/sinon - 90b4af9bbf0273bfc8a54da998272cfd83f00407 authored over 13 years ago by Christian Johansen <[email protected]>github.com/sinonjs/sinon - 1b42e1a5e77db72c0b51801d3917c7a14a5d0254 authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - 302d69eeec7457d39d35e9436d618bef2570a5d7 authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - 95f200cabd1e5bea5eb3034710f5f9b74f1b047f authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - 328ea4fabd144b996303eda8b8977060d4d63540 authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - 056f706656df695ee16a254f05e17d7e6e932ea0 authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - 4e10b0ae11c1a0a0900db110a05942da6e450a8b authored over 13 years ago by Christian Johansen <[email protected]>
- Allows Sinon to play well with SproutCore and others that use
xhr.addEventListener("readysta...
github.com/sinonjs/sinon - 2d1ece0a1c285192afada4169eb00b4bcc59f454 authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - c53f1047d4b181f3ee109f1c6a41f7f9b0544a1b authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - 4177070245e75dac8b7bc9f23dd6964d6181f620 authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - 8227f5de23a1dac9cb18a5af6be3b919d51382d5 authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - 3c9ba095b3e507141fbea91413d504474ee73ce1 authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - ddbb94dabdd7b8e5243a18874bb64cf0ef6c8028 authored over 13 years ago by Christian Johansen <[email protected]>
- Only requirement is that the object.hasOwnProperty(property)
github.com/sinonjs/sinon - dd2074aa0f36fa3fb8038cfb1142ceef20e8368c authored over 13 years ago by Christian Johansen <[email protected]>
- Fixes a bug where expectations where mistakenly only considered in
the order set.
- Adds a n...
- Adds a sinon.format hook to allow third-party object formatters
- Adds a toString method on sp...
github.com/sinonjs/sinon - 8a11075f9119754254bfc9a65a1c07b4ddd560c4 authored over 13 years ago by Christian Johansen <[email protected]>
When using the fakeServer for mockup development, it's convenient
to be able to quickly mock ser...
Conflicts:
lib/sinon/stub.js
test/sinon/spy_test.js
test/sinon/stub_test.js
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]>github.com/sinonjs/sinon - 3166874be8e83c3830733694fca8d769b34dff47 authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - e49b64e16762c53153aa56d2ab21ff51bf5a9068 authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - 9235e1bbd912d2529447f638fe437a85330f8a66 authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - e82f578ee046edea3399152cf46c7bcad8829c46 authored over 13 years ago by Christian Johansen <[email protected]>
github.com/sinonjs/sinon - ce2e067df82a27fb3533888e2ad64ecf3b0ab337 authored over 13 years ago by Christian Johansen <[email protected]>