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 #321 from keithamus/showOriginallyWrappedStackTrace

Add additional stack trace information to wrappedMethod errors

0c114739ae69a2c347f55e0b8862427066010a22 authored about 11 years ago by Christian Johansen <[email protected]>
Added (loose) test case for wrapMethod originating stack traces

e9582a48284403ad76e9d2936280fa2d9fd5db13 authored about 11 years ago by Keith Cirkel <[email protected]>
Add additional stack trace information to wrappedMethod errors

9e51b12e6e8eee2e5d8144532c220ccfe6405c85 authored about 11 years ago by Keith Cirkel <[email protected]>
Merge pull request #320 from blakeembrey/duplicate-onload

Fix duplicate onload function calls

b6fdfcfa7924060980e5796ba0fdbbc00db4af33 authored about 11 years ago by Christian Johansen <[email protected]>
Fix failing tests, make the onerror and onload tests more comprehensive, remove broken onload function call.

b3cfe4f598116f80643d6036c77e8ecf1eeb80ec authored about 11 years ago by Blake Embrey <[email protected]>
Added @hashchange to contributors

a6c159169e279f1ef298c649b242b375428a3110 authored about 11 years ago by Maximilian Antoni <[email protected]>
Merge pull request #316 from hashchange/fix315

Fixed deepEqual to detect properties on array objects

432ee097b4771ab23b88577fecf5107a159862eb authored about 11 years ago by Maximilian Antoni <[email protected]>
Fixed deepEqual to detect properties on array objects

e4fdd412ce1c8cb10924ba1e86f698d042026b8d authored about 11 years ago by hashchange <[email protected]>
Merge pull request #311 from IanLewis/master

Fixed problem with chained timers with delay=0

0c249b0768a44ccb2fc7e34c023ef2e257d5705a authored about 11 years ago by Christian Johansen <[email protected]>
Merge pull request #312 from cvrajeesh/patch-1

Added instructions for installing via NuGet(package manager for Microsoft development platform)

a3f5edb5f602e4b03e5c5beb3018bb7020272393 authored about 11 years ago by Christian Johansen <[email protected]>
Merge pull request #313 from simonefonda/master

Make FakeXMLHttpRequest work under nodejs

68817d4d11520f157d142752984f3586989f9590 authored about 11 years ago by Christian Johansen <[email protected]>
Moved the self-invoking wrapper in util/fake_xml_http_request.js to make FakeXMLHttpRequest work under nodejs

93df46f7dc716a3f8ee5db47aa66b6d82f14685d authored about 11 years ago by Simone Fonda <[email protected]>
Added instructions for installing via NuGet

d9767c71be308a5413f14a21eed3cd763007f4e2 authored about 11 years ago by Rajeesh C V <[email protected]>
Fixed problem with chained timers with delay=0

8a98562d044fe869a163149ba75cfeac636f0e04 authored about 11 years ago by Ian Lewis <[email protected]>
Merge pull request #308 from jamestalmage/commonjs-fix

Fix CommonJS detection to work in Component package manager

297d6cc74fd44164a915821d60bf7f0b30393092 authored about 11 years ago by Christian Johansen <[email protected]>
Fixed Node.js detection to work inside component

c54844b4379cccd06f0c8595d403bac492feccac authored over 11 years ago by jamestalmage <[email protected]>
Merge pull request #263 from salomvary/fakexhr-function-handler-vs-regexp

fix fakeXHR when response is function handler and url contains RegExp characters

6acc4898775dbc5a3f6d88e9bc772133ba4e4e4e authored over 11 years ago by Christian Johansen <[email protected]>
Up version

1e553235f245115d7a816f9e3abc836ad85b929b authored over 11 years ago by Christian Johansen <[email protected]>
Merge pull request #298 from lluchs/windowsbuild

Fix build not working on Windows

a52a1826e86dc8918206a900a2e878a65c986096 authored over 11 years ago by Christian Johansen <[email protected]>
Fix build not working on Windows

Windows doesn't have a `cp` command.

e0d022a4b3cd32f0cf35f6b45f9f309cbd1da64c authored over 11 years ago by Luchs <[email protected]>
Merge pull request #291 from mokkabonna/forEach-bug

Removed use of array forEach, breaks in older browsers. Closes #290

abe8c3dcc36a99a43d0cf0c23a4d8f6193e42f82 authored over 11 years ago by Maximilian Antoni <[email protected]>
Styling changes for #290

291db2c90a142dcffa2437bcb40b9212e4b11a28 authored over 11 years ago by Martin Hansen <[email protected]>
Removed use of array forEach, breaks in older browsers. Closes #290

f7620ac789be3e589381754a47728e9d319d677d authored over 11 years ago by Martin Hansen <[email protected]>
Merge pull request #289 from gserebryanskyi/master

sinon.deepEqual(new Date(0), new Date()) returns true

57b834346f0bf8a3d3c79644f2f27051ab19ba2e authored over 11 years ago by Maximilian Antoni <[email protected]>
sinon.deepEqual(new Date(0), new Date()) returns true (codereview)

d6026ccef200e1721a436de37cb77fa3006dbbda authored over 11 years ago by G.Serebryanskyi <[email protected]>
sinon.deepEqual(new Date(0), new Date()) returns true

c239b47c8dabb39bd363f1035bd598c0011349d3 authored over 11 years ago by G.Serebryanskyi <[email protected]>
Add 1.7.0 and 1.7.2 to changelog

7c92e844eb52cc132566f9847faa8893eeae639c authored over 11 years ago by Christian Johansen <[email protected]>
Fix typo

b1f2231d4b974fc113b5bb7b5526660c8a5a8b1f authored over 11 years ago by Christian Johansen <[email protected]>
Actually include the jQuery 2 fix in 1.7...

cd313cd8a01f788e6e979fb9f5b8b1d015b44159 authored over 11 years ago by Christian Johansen <[email protected]>
Fix authors file

86d67d76cb3dd46aebd930d1a847abbc16b0ee91 authored over 11 years ago by Christian Johansen <[email protected]>
Fix release script hack

49f33c33cd9fededdc729ca875d8f8a5f64ae72a authored over 11 years ago by Christian Johansen <[email protected]>
Merge pull request #276 from justgook/master

fix $.ajax or fakeServer issue with jQuery 2.0.0

8715462434c3bba2477c31c1a1fb69a398da2b90 authored over 11 years ago by Christian Johansen <[email protected]>
1.7.0

8c72871e735b43277744d2d3ad9ec411bf980c8c authored over 11 years ago by Christian Johansen <[email protected]>
Merge pull request #281 from kjbekkelund/simplify-if

simplify if

640f95b03ebdd92f68395b1f549c5568dba1780c authored over 11 years ago by Maximilian Antoni <[email protected]>
simplify if

d2488013c26eaa82ac70b3ceb7012ea8e56b00e0 authored over 11 years ago by Kim Joar Bekkelund <[email protected]>
Fixed and added tets

2836bf06e393786082575d9254566ecff99da5f8 authored over 11 years ago by Roman Potashow <[email protected]>
Merge remote-tracking branch 'upstream/master'

eaa7c679e0884fb68fe3172643f6c7de96bf43c1 authored over 11 years ago by Roman Potashow <[email protected]>
Merge pull request #277 from jonnyreeves/master

Added sinon.restore(), Fixes #270

c479f69ad2aa42ff8fe3ea462861e266041e7202 authored over 11 years ago by Maximilian Antoni <[email protected]>
Formatting

96935417cc9a67b9541c48f81b0aed83f072359d authored over 11 years ago by Jonny Reeves <[email protected]>
Added Jonny Reeves to AUTHORS

d2a24f67c6065337837897ad28faf773bae4763f authored over 11 years ago by Jonny Reeves <[email protected]>
#270 Added sinon.restore()

4c6374ab84e21a8796037b255115f3d807ae35fa authored over 11 years ago by Jonny Reeves <[email protected]>
Fixed #271 $.ajax or fakeServer issue with jQuery 2.0.0

7f19b186c47b6aec3ac6da6e49aaa31d3fff79c5 authored over 11 years ago by Roman Potashow <[email protected]>
Merge pull request #265 from brandonheyer/patch-1

Update call.js

3c3a2559a4756cf583800fe333112ecbed35430f authored over 11 years ago by Christian Johansen <[email protected]>
Update call.js

Combined last two return statements and switched == to ===

6671f2e3fcd6f7929a431ca02f3c2ee9e1811207 authored over 11 years ago by Brandon Heyer <[email protected]>
String Based Threw Fixes

Cleaned up if check per cjohansen's request.
Added test cases per mantoni's request.

3689bf861036ac00b2680e01a1424859a559c729 authored over 11 years ago by Brandon Heyer <[email protected]>
Update call.js

If you: throw "a string"; sinon stores it directly in this.exception, and not as an object.

U...

46093237077598d6137e5f838d028831668797a9 authored over 11 years ago by brandonheyer <[email protected]>
fake server should not respond to requests queued after respond() (eg from callbacks)

41586fe2bbe16af5767f32e7156f32dc1e5ee9be authored over 11 years ago by Márton Salomváry <[email protected]>
fix fakeXHR when response is function handler and url contains RegExp characters

d5850b2f70629f5af04ffb473b3dc96129b0b4b0 authored over 11 years ago by Márton Salomváry <[email protected]>
Merge pull request #258 from CQQL/progress-event-api

Progress event api

2f1572c6633345afc154c066e031185233a9cb61 authored over 11 years ago by Christian Johansen <[email protected]>
Implement on* progress callbacks

061eca4eb41338d72e477ef475ea3c52277375d9 authored over 11 years ago by Marten Lienen <[email protected]>
Add tests for on* progress event attributes

e5a953fa381f47b63d9e299cbad81b3b15e37361 authored over 11 years ago by Marten Lienen <[email protected]>
Implement progress event API

1e6100e71060aae386d7490217ab9e21ec954f51 authored over 11 years ago by Marten Lienen <[email protected]>
Add tests for desired behaviour

5d3d96f086e19bc3491780112e39462b51b27b5a authored over 11 years ago by Marten Lienen <[email protected]>
Merge pull request #255 from pwnall/web-workers

Web Workers support.

1bf29fba6c9c5ab4893dd2083965cc46e34b13bf authored over 11 years ago by Christian Johansen <[email protected]>
Web Workers support.

Fixes an exception that was raised when importing sinon.js in a
Web Worker context using importS...

0e705aa5ce0520dea6a9fc900957ca41688db0ae authored over 11 years ago by Victor Costan <[email protected]>
Added my name to the call.js and call_test.js file documentation

f017f8d807dcb8e28900566bb29c8916123ddc79 authored over 11 years ago by Maximilian Antoni <[email protected]>
Refactored call out of spy and separated test cases

0c59541a76263247593946937c563aed97ad2b88 authored over 11 years ago by Maximilian Antoni <[email protected]>
Call only exports the call factory function

b97895527797e3c8baf76394ac8902e5c62a0f45 authored over 11 years ago by Maximilian Antoni <[email protected]>
Fixed missleading assertion error message for callOrder

The message produced by sinon.assert.callOrder now does not list fakes
that where not called at ...

804f5789b278c0bb2636bcd2f0d6dd66d417d261 authored over 11 years ago by Maximilian Antoni <[email protected]>
Up version

f41d9f27a761ec08e61ffc07a67518bb3f5106b3 authored over 11 years ago by Christian Johansen <[email protected]>
Fixed issue #248 with callOrder assertion

Did not fail if the last given spy was never called

9b89efeea464dfece9c1900930c235edb9b308d4 authored over 11 years ago by Maximilian Antoni <[email protected]>
Merge pull request #243 from goligo/master

Fixed issue with setResponseHeader when using synchronous requests

a7fa3728a2757b3370eff9644bf866b4d7b85343 authored over 11 years ago by Christian Johansen <[email protected]>
Fixed issue with setResponseHeader when using synchronous requests

When using synchronous requests, the readyState was not properly changed to HEADERS_RECEIVED whi...

b9595f85f53f1666cd7060e6b4082c3631c32656 authored over 11 years ago by goligo <[email protected]>
Merge pull request #239 from MrBigDog2U/master

New spyCall methods

6a1cdd85e732e9a7af5cdd7aacdccdd96e41f5cd authored over 11 years ago by Christian Johansen <[email protected]>
More whitespace issues

8eca6ef146ac20e6ccde5a289f944ea657945de4 authored over 11 years ago by William Sears <[email protected]>
Fix whitespace issue

bb07c0eb5ab3e38f56bdccc97051a800c104141d authored over 11 years ago by William Sears <[email protected]>
Added complete unit test cases.

ca3564ecd7f0e9d72f477e93af65a215b4ce22f2 authored over 11 years ago by William Sears <[email protected]>
Changed whitespace formatting.

f26c68e2c28ecccfdbf3666abdaa4450599be5fa authored over 11 years ago by William Sears <[email protected]>
Fix wrong argument in test.

6d8afc3132230b93c6ef51412607603caeaa9f02 authored over 11 years ago by William Sears <[email protected]>
Added unit tests for callArgOn, callArgOnWith, yieldOn and yieldToOn.

0dd1c242859040a931fbd031f2e3a57b8b1c9006 authored over 11 years ago by William Sears <[email protected]>
Bug fix for yieldTo arguments

23b86f54d88dfa1fadd248c92402fc12d2a39315 authored over 11 years ago by William Sears <[email protected]>
Add methods to spyCall interface: callArgOn, callArgOnWith, yieldOn, yieldToOn

5aaf66087de14de2df824a543c97986789bf4cb4 authored over 11 years ago by William Sears <[email protected]>
Merge pull request #233 from domenic/231

Fix #231

814fa7cc5de96d775f6221988b43af682483f1ae authored over 11 years ago by Christian Johansen <[email protected]>
Merge pull request #234 from domenic/setImmediate

Remove msSetImmediate; it only existed in IE10 previews.

6973db67b9d652d1cf99ca564b7050554b031c12 authored over 11 years ago by Christian Johansen <[email protected]>
Merge pull request #235 from domenic/npm-improvements

Improvements for npm publishing. Fixes #232.

04ee02ee85e28a97e201a57b6dffc76732643a54 authored over 11 years ago by Christian Johansen <[email protected]>
Improvements for npm publishing. Fixes #232.

- Published package no longer includes lots of dev-only stuff.
- Published package now *does* in...

2abc3a61ccf9aa554a78f440aafa470b60145efc authored over 11 years ago by Domenic Denicola <[email protected]>
Remove msSetImmediate; it only existed in IE10 previews.

IE10 final unprefixed it.

f7d5a5112ecd99142b7c08f3bc02421b1b54982c authored over 11 years ago by Domenic Denicola <[email protected]>
Fix #231: not always picking up the latest calls to callsArgWith, etc.

If you called a stub more times than you set values for with multiple calls to callsArgWith (or ...

b526bc474834fd9059dd18576098399d27d5376a authored over 11 years ago by Domenic Denicola <[email protected]>
Add failing test for #231.

9de12b755b065281810989fd47f53783ec264b16 authored over 11 years ago by Domenic Denicola <[email protected]>
Remove useless line.

73827ec3baebb7af2a6cfd383287dca9b79c2794 authored over 11 years ago by Domenic Denicola <[email protected]>
Merge pull request #230 from mjijackson/tick-returns-now

clock.tick returns clock.now

ffb36c13b49ba2765f9356c9035fc54d4020204a authored almost 12 years ago by Christian Johansen <[email protected]>
clock.tick returns clock.now

It is useful for clock.tick() to return the new value of now.

466f30f647af470f49cc04d392ee85145c028f56 authored almost 12 years ago by Michael Jackson <[email protected]>
Fix failing anonymous mock expectations

715dc5c26cc4aa4521057af4b5f4ee0c34a086c4 authored almost 12 years ago by Christian Johansen <[email protected]>
Merge pull request #222 from feedzai/master

Adds logging to the FakeServer

1007cf467ed696e22fa9d45372ad3b60741d6a46 authored almost 12 years ago by Christian Johansen <[email protected]>
Merge pull request #224 from telaviv/create-stub-instance

wrote sinon.createStubInstance.

44b98e9eb93ea7570ea6137681a804345e0c436d authored almost 12 years ago by Christian Johansen <[email protected]>
wrote sinon.createStubInstance.

5f200fdd8a0657511321bfd7139804870cc5211e authored almost 12 years ago by Shawn Krisman <skrisman@nodelings>
Removes the usage of a flag to activate the fake server logging

Its necessary to opt in by setting sinon.log, so this flag was redundant.

aa9023651bdccd1fc09216afa45b3c6bd8b64153 authored almost 12 years ago by Luis Cardoso <[email protected]>
Now uses sinon.format to format the object instead of JSON.stringify

By using sinon.format it is no longer necessary to have logic that feature detects JSON.stringif...

5f3b732c2fdb656f02f71247cc296be2b898f539 authored almost 12 years ago by Luis Cardoso <[email protected]>
Adds logging to the FakeServer

To enable (in node or a modern browser):
server.enableResponseLogging = true;
sinon.log = consol...

358c88f100dc0e940163999b9d224fcd1b9ebd2e authored almost 12 years ago by Luis Cardoso <[email protected]>
Revers changes made by fccbac45ccb2c366f0eb1fec65f95e3ce8b37b2b

By some reason, in github, all the lines appear as changed but that is not the case and in
my ma...

c050d6320c605d5d150a3606c53c49dedf701e6b authored almost 12 years ago by Luis Cardoso <[email protected]>
Adds logging to the FakeServer

To enable (in node or a modern browser):
server.enableResponseLogging = true;
sinon.log = consol...

fccbac45ccb2c366f0eb1fec65f95e3ce8b37b2b authored almost 12 years ago by Luis Cardoso <[email protected]>
Merge pull request #203 from alFReD-NSH/spy-formatter

Make spy formatter `%C` have empty lines

299f208543112c2688931e44fe7bbe97d10b3f50 authored almost 12 years ago by Christian Johansen <[email protected]>
Write a test for spy.printf

2e07127ed4e6c0ef204f965e684747bb849f5f17 authored almost 12 years ago by Farid Neshat <[email protected]>
Make formatter %C put empty line between multiline calls

68e6448f347e884b2ae51608ee91bd093d4d6e92 authored almost 12 years ago by Farid Neshat <[email protected]>
Added alternative build command to README

28ec0a394e3a61a5a7f42042a1037ad7bbe7356c authored almost 12 years ago by Maximilian Antoni <[email protected]>
ensure that resetBehavior does not touch recorded calls

Add some regression tests that ensure that properties that would be reset by
spy.reset are not a...

06ee4f9b5c77b088275ba8642264c2c02534e82e authored almost 12 years ago by Martin Sander <[email protected]>
group resetBehavior tests

d2e4b3dffeb76f3208d18cdad22d78c82973f1c4 authored almost 12 years ago by Martin Sander <[email protected]>
resetBehavior resets fakes created by withArgs

As discussed in #212, resetBehavior
- when called on the "top level" stub, also resets "children...

68e2ab1885514068a2ab9fe0f5ecd15cccf7daf4 authored almost 12 years ago by Martin Sander <[email protected]>
fix typo in test name

ab6a95a27398600f970869fc473b0323a444fcbc authored almost 12 years ago by Martin Sander <[email protected]>
stub.resetBehavior, resets callback and returns

stub.resetBehavior:
resets the behavior that was defined by previous stub.callsArg*, stub.yields...

77c57d28daafc06c037d4005235019cd780fff8d authored almost 12 years ago by Martin Sander <[email protected]>