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

Convert extend tests to mocha

5a34a465b012bd651712afedc6b04ab652c9e447 authored over 8 years ago by Maximilian Antoni <[email protected]>
Convert collection tests to mocha

cb8cf352378359b03caadcb8d912c473ef5505dd authored over 8 years ago by Maximilian Antoni <[email protected]>
Convert call tests to mocha

2698b4d3dfdb3c303a688cb3421fcf1d49af3f07 authored over 8 years ago by Maximilian Antoni <[email protected]>
Convert assert tests to mocha

e572eef64f71d00555b8de184bdf0e3f29cc8dc3 authored over 8 years ago by Maximilian Antoni <[email protected]>
Convert matcher tests to mocha

5702a18094b49722bef0a210d235d330c36e5ef8 authored over 8 years ago by Maximilian Antoni <[email protected]>
Update docs/TODO.md to reflect plan to Jekyll

c834de29260169865c8f2110e8b63a34769fff48 authored over 8 years ago by Morgan Roderick <[email protected]>
Merge pull request #1001 from jonnyreeves/feature/cjsify-spy-and-stub-tests

CJSify Spy and Stub Tests.

214da0a2b3b2da05ae8e3bf4679b8c16dbe7c32e authored over 8 years ago by Maximilian Antoni <[email protected]>
CJSify Spy and Stub Tests.

76a801375f1802cd73613e94eefa95cdab7a1b83 authored over 8 years ago by Jonny Reeves <[email protected]>
Merge pull request #998 from jonnyreeves/feature/cjsify-util-tests

CJSify Core Util Tests.

494a9a886bd7c680a2395b4b1ed82ed530976155 authored over 8 years ago by Carl-Erik Kopseng <[email protected]>
CJSify Core Util Tests.

Removes imports of the `sinon` object and pulls in dependencies through `require` calls.

6f9423b076506b8264c00227b2dca3d40f333750 authored over 8 years ago by Jonny Reeves <[email protected]>
Merge pull request #996 from jonnyreeves/feature/browserify-tests

Migrate Packaged Tests to use a Browserified Build.

ebec5e49e550698ee0b9b1d95e9f0d06bc983369 authored over 8 years ago by Carl-Erik Kopseng <[email protected]>
Migrate Packaged Tests to use a Browserified Build.

Browserify-shim has been added to take the global buster instance provided by the test-runner (r...

53d21c50d230525227590fadd90611001bc9b2cb authored over 8 years ago by Jonny Reeves <[email protected]>
Merge pull request #997 from STuFF/master

Fix non enumerable methods stub restore

b1aa76f8119dd52da2255fcddd71eeef2fe3bb4c authored over 8 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #979 from fatso83/issue-835-repacked

Fix #835: avoid uncaught TypeError in log_error

50420ff313c5438146c0a4662a6c40c3a38f5d70 authored over 8 years ago by Carl-Erik Kopseng <[email protected]>
fix non enumerable methods stub restore

276e8f9ee2de388f31a12e04e2054d0362271842 authored over 8 years ago by STuFF <[email protected]>
Merge pull request #987 from nelsonsilva/fix-blob-support

Improve Blob support detection logics

9d9109107a3681085bba9b899fd5e70dc3382efb authored over 8 years ago by Carl-Erik Kopseng <[email protected]>
Improve Blob support detection logics

02e24cd266076f2058b92ae6205a2afacc0cf4bf authored over 8 years ago by Nelson Silva <[email protected]>
Merge pull request #986 from pra85/patch-1

Fix a typo in Contributing.md

cee9ac95c3bb3724634c21e16b477f2f7dca8c1e authored over 8 years ago by Morgan Roderick <[email protected]>
Fix a typo in Contributing.md

Remove an extra `the`

d9e4ab63758f7ea80a692e417d2b5630ba181a95 authored over 8 years ago by Prayag Verma <[email protected]>
Merge pull request #980 from fatso83/phantomjs2

Use PhantomJS 2

9970ea5fe83f3a8d326c801f969595d794c25d40 authored over 8 years ago by Morgan Roderick <[email protected]>
Update Node versions on Travis

Removing 0.8 and 0.10 versions of Node. We only need 0.12
and 0.8 was giving us grief in the bui...

55b7eb063c13c42bfb91be6be6798d4b6f2ca0ac authored over 8 years ago by Carl-Erik Kopseng <[email protected]>
Use PhantomJS 2.

PhantomJS was made available on NPM in January, and this makes some
hacks in the build s...

62c8b1127a25668a2a910c4c504298327cf9a4df authored over 8 years ago by Carl-Erik Kopseng <[email protected]>
Fix #835: make err.message writable

Copy the error into a new error object to avoid throwing
an error when trying to assign to read-...

acfa24025d05ae0ce1f204df5edb1f846af84917 authored over 8 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #958 from tested-with-busterjs/prep-for-buster-next

Prep for buster@vNext

e8994c30b48452790fdc74cfe73dbfb7217660f4 authored over 8 years ago by Carl-Erik Kopseng <[email protected]>
Remove linting errors in switch cases

c55200017aeceadbf548184c99052544abfb933c authored over 8 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #973 from jonnyreeves/feature/remove-sinon-test

Remove `sinon.test()` and `sinon.testCase`.

a8b6766426206a3cf536982bc595384318b4aae4 authored over 8 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #974 from Ericat/docs-spy-not-called

#969 Add notCalled to docs

ec8d45f7866dbc80336109fec5204a11f3c98751 authored over 8 years ago by Maximilian Antoni <[email protected]>
Add spy.notCalled to documentation

Fix issue #969 and add spy.notCalled to docs

73f2bcae87023661222f74aaa372a7ba143cef51 authored over 8 years ago by Ericat <[email protected]>
Remove `sinon.test()` and `sinon.testCase`.

Functionality has been extracted out into the `sinon-test` module allowing us to remove these tw...

6d1cb2cda6134cdb3adfd7d1f8abc0e38c46b7f5 authored over 8 years ago by Jonny Reeves <[email protected]>
Merge pull request #972 from jonnyreeves/feature/remove-global-logger

Remove `sinon.log` and `sinon.logError`

fd56d7f0c2c749e21475a630bee99ffdbc090516 authored over 8 years ago by Carl-Erik Kopseng <[email protected]>
Remove `sinon.log` and `sinon.logError`

These two functions introduced global, mutable state to the sinon instance; sinon.log has been r...

43dd2bfeb29c0087f46a873f293ad93e532b9d71 authored over 8 years ago by Jonny Reeves <[email protected]>
Merge pull request #923 from ichthala/better_restore_docs

Clarify documentation on creating stubs and spies

e21966501555d1a981fa2be060fe862be9ad1e49 authored over 8 years ago by Morgan Roderick <[email protected]>
Merge pull request #967 from jonnyreeves/feature/decouple-format

Remove the use of `sinon.format` from the codebase

2c89183415ad34f1627dc87094dd88bc1e57b2f2 authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #968 from jonnyreeves/feature/organise-tests

Re-organise tests (removes `sinon-test.js`)

6de30c345969eaaabb7f58b7f5c7f28c13c0b9de authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
De-fluff

87790c1de52cbd15450df8007e8b064cad7ff5a3 authored almost 9 years ago by Jonny Reeves <[email protected]>
Remove `sinon-test` module.

Kills off a single test for `sinon.log` - I'm not convinced anything of value was lost :)

8009e0184519e5c55a8905f124f0b5fe763aa756 authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `get-config` tests from `sinon-test`.

67801ed52da7df621e3c193b79b3c427ef69d177 authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `function-to-string` tests from `sinon-test`.

Pulls out a suite into `test/util/core/funciton-to-string-test` for better organisation.

38dd3080ff9000359be486d31eb520bbff4b3e59 authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `restore` tests from `sinon-test`.

Pulls out a suite into `test/util/core/restore-test` for better organisation.

As a side note, I...

cec3063c9ed207cec8cdf02865f9d6d7c25ef50e authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `createStubInstance` tests from `sinon-test`

Pulls out a suite into `test/stub-test` to align with the fact `createStubInstance` is defined (...

12f67c32c69d7e57231076bbe0096bd33890ce1f authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `deep-equal` tests from `sinon-test`.

Pulls out a suite into `test/util/core/deep-equal-test` for better organisation.

f7e188b05571a2bb58e44c0bfe4f390b1e4c30bb authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `wrap-method` tests from `sinon-test`.

Pulls out 3 suites into `test/util/core/wrap-method-test` for better organisation.

b28eaa2de90338c3dab857b57e74319fbe30eeb4 authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `extend` tests from `sinon-test` to `extend-test`

a0cd6841e625d66ad171cf39a4256d48c52b5780 authored almost 9 years ago by Jonny Reeves <[email protected]>
Move 'lib/util/core' tests into 'test/util/core'

1328e4078ec96c9baa8bae6dba19904420e98541 authored almost 9 years ago by Jonny Reeves <[email protected]>
Remove the use of `sinon.format` from the codebase

The `test-call` suite now check that the `util/core/format` module was invoked by asserting agai...

98e623ca4ed5acabcc0c9449f9eea6f08105a2d7 authored almost 9 years ago by Jonny Reeves <[email protected]>
Merge pull request #936 from jonnyreeves/feature/cjsify-sandbox

Extract `sandbox` into a CommonJS module.

5df621ce0a6e315749b0fcf008c725455b037e35 authored almost 9 years ago by Maximilian Antoni <[email protected]>
Merge pull request #964 from raejin/master

Fix stub.withArgs unable to recognize sinon matchers

a6750d4194063a1c8f984cc88707a6a5a75f8570 authored almost 9 years ago by Maximilian Antoni <[email protected]>
Require sinon.deepEqual in a more modular way

per @mantoni suggestion, thanks!

afda4fab5d9501c670396614e5e9dba34c71c266 authored almost 9 years ago by Rae Liu <[email protected]>
Fix 648: test for this.proxy before trying toString on it

7a18eb5f73326addad2f13b7af41e02e7790b861 authored almost 9 years ago by Morgan Roderick <[email protected]>
use the correct sinon.deepEqual to test sinon matcher

c0d5b0c70bf4ddd5bd929ef5d1021ad2ec3cef11 authored almost 9 years ago by Rae Liu <[email protected]>
add stub test to ensure sinon matcher is recognized within stub.withArgs

653f01f356515cf4e2cb94a03bf09c93a6a1508f authored almost 9 years ago by Rae Liu <[email protected]>
Merge pull request #963 from kellyselden/patch-1

update repo link

1e724bd80994d8f7ad78a5009241ad23755f134e authored almost 9 years ago by Morgan Roderick <[email protected]>
update repo link

28376ff5cdfb76954008f02041c323d60278c9f4 authored almost 9 years ago by Kelly Selden <[email protected]>
Merge pull request #962 from mroderick/update-dependencies

Update dependencies

972111efa47b6f64ffbed76e324b5c4a6f4a52c6 authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Remove unused dependency util

Thank you bithound!

325deb89557bf8c34ca0e48f31846180668151ef authored almost 9 years ago by Morgan Roderick <[email protected]>
Update samsam

f1a502c7d00c7da2638cc8fd051393f379804af1 authored almost 9 years ago by Morgan Roderick <[email protected]>
Update lolex

199028e9630d3c2e9aafa5482071653f26455ab7 authored almost 9 years ago by Morgan Roderick <[email protected]>
Update browserify

c1b185d46cf5e91f8cc31bf560d39c8ed3c10f8f authored almost 9 years ago by Morgan Roderick <[email protected]>
Update dependency pre-commit

fc5fefe2fccc54ec65c2244bd9fe30c620d8eb32 authored almost 9 years ago by Morgan Roderick <[email protected]>
Update buster-istanbul to 0.1.15

31a9b72e706ce14c676562657c6a8cc49a8abf1d authored almost 9 years ago by Morgan Roderick <[email protected]>
ignore webstorm configs

5a1aa2157727dc9c8607c1f12c56b8e5e538c7a6 authored almost 9 years ago by Dominykas Blyžė <[email protected]>
fix async issues and increase buster timeout

89fc7d2bda95313126a0da4f0cfe023b7123ae51 authored almost 9 years ago by Dominykas Blyžė <[email protected]>
test on node 5

068d565cd23a0c39c54d08c8f812ca0f4bfc3912 authored almost 9 years ago by Dominykas Blyžė <[email protected]>
Fixes typo error in docs

bf2c484d7c1728a5c94f0286087d784a5bf1a614 authored almost 9 years ago by Irving <[email protected]>
Merge pull request #949 from T1st3/patch-1

fix typo in lib/sinon.js

e54b3e0e4e6754a13ba6ab070b778e31ba3d1f0f authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
fix typo in lib/sinon.js

fix "injectection" typo

628a9045b6fcb3b7515d55fefdc68461bd10cc3b authored almost 9 years ago by T1st3 <[email protected]>
Merge pull request #945 from KalisaFalzone/patch-1

Fixes typo error in docs

d922228096f3bd565a5bb8842ec766202f1de7f3 authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #943 from ibash/no_eval

Get rid of eval in sinon spy

d2f13b7dc601c369d59cf05814146f8bd9842b78 authored almost 9 years ago by Maximilian Antoni <[email protected]>
Fixes typo error in docs

Changes "on of three things" to "one of three things" line 247.

4299791ab1469fd2b392d4c76a08f4bd756c6db9 authored almost 9 years ago by Kalisa Falzone <[email protected]>
Adding comment to warn against using eval

660cc9e525f8ebe6b9e78a680cb35e2ee5f2bdf9 authored almost 9 years ago by Islam Sharabash <[email protected]>
fix linting

eb9cf232203dab55cd04c560d9f0405a22aa08c7 authored almost 9 years ago by Islam Sharabash <[email protected]>
Get rid of eval in sinon spy

fe6444e0667759aef60d088ed73babc2c12d684b authored almost 9 years ago by Islam Sharabash <[email protected]>
Merge pull request #940 from ReadmeCritic/master

Update README URLs for NPM

3fb8e6ad75e0e0f06e8aea0941917c889693d698 authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Update README URLs based on HTTP redirects

67c03f29a90eecda216c27d67e0642ab3f0c839a authored almost 9 years ago by ReadmeCritic <[email protected]>
2.0.0 pre-release

8a80ddf6edf508d1c6cfccd40ecba2bce68291cb authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Extract `sandbox` into a CommonJS module.

Tests are tightly coupled to `sinon.useFakeTimers` and `sinon.fakeServer`; however we should be ...

5c621478eeb1bec639962b519d56afe4a75fe5e1 authored almost 9 years ago by Jonny Reeves <[email protected]>
Merge pull request #934 from jonnyreeves/feature/cjsify-utils

CommonJSify sinon utils package

72a0f98d61b7c33ff6b4bcfaa6cabf33d6de32f7 authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #933 from jonnyreeves/feature/cjsify-mock

CommonJSify `sinon.mock`

ac12b30f58db1f9014ae7c6f6ca235dcdabaf732 authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Clarify documentation on creating stubs and spies

4ca69c453f2c1ad7d45ce2dae99557734b03354d authored almost 9 years ago by ichthala <[email protected]>
Extract `util/fake_server_with_clock` into a CommonJS module

This module no-longer mutates the `sinon` object; instead it exports an API which is then added ...

f559de0e2a41bdff259705aa886f731957cc149e authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `util/fake_server` into a CommonJS module.

This module no-longer mutates the `sinon` object; instead it exports an API which is then added ...

259d7c2ea07ae40f72183c31390e5f5bd03ab417 authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `util/fake_timers` into a CommonJS module.

This module no-longer mutates the `sinon` object; instead it exports an API which is then added ...

8c15718fca610657885458bf778dfd319380210c authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `util/fake_xml_http_request` into a CommonJS module.

This module no-longer mutates the `sinon` object; instead it exports an API which is then added ...

ac15d3e8b084a36d1585e43bc2d9a95e40e0a56c authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `util/fake_xdomain_request` into a CommonJS module.

This module no-longer mutates the `sinon` object; instead it exports an API which is then added ...

0487deff04fcddc852d3db021e90ccede4060f18 authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `util/event` into a CommonJS module.

This module no-longer mutates the `sinon` object; instead it exports an API which is then added ...

d1d2e737cd9455c87fe9b7bb7224220a3eac36d5 authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `sinon.logError` into a CommonJS module.

This is a tricky one; it remains exported on the `sinon` object as there are a number of tests t...

60945bd32f05b490161d85e3d8c79ed35aabd947 authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract (most of) sinon.collection into a CommonJS module

This module still needs to depend on the `sinon` object as the tests are tightly coupled to both...

7bce8ef030ef6e6455634589098fde3c17b27de2 authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `sinon.mock` into a CommonJS module.

Extract, `sinon.expectation`, an inner module into its own CommonJS module (`mock-expectation`)....

53a1745a61dae5ad883d929b8dc3156a8260b520 authored almost 9 years ago by Jonny Reeves <[email protected]>
Import mock's dependencies are CommonJS modules.

bc8d518d18afa52a01fe521d1a68edb28e3ac524 authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `createSpyCall` into a CommonJS module.

Similar to `spy.js`, the tests have a hard dependency on `sinon.format` which can't be removed u...

0dcb1f855ef3b04f108fac52c7afb5058a650252 authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `sinon.assert` into a CommonJS module.

65919c6bab927d3da53fcd2b20cdc131f7f7767b authored almost 9 years ago by Jonny Reeves <[email protected]>
Merge pull request #932 from jonnyreeves/feature/cjsify-stub

CommonJSify `sinon.stub`

f355a098de401a17f8b79c50c4c7d8844a57a136 authored almost 9 years ago by Morgan Roderick <[email protected]>
Remove `walk` from sinon's public API.

8a960d5aab6d2c7323b3421a05bda72a9ce23655 authored almost 9 years ago by Jonny Reeves <[email protected]>
Merge pull request #931 from jonnyreeves/patch-1

Delete .jscsrc

491bb7f7deb33f7a226b7912380f20e5b7f73095 authored almost 9 years ago by Morgan Roderick <[email protected]>
Patch up linting errors

6b23de5dc654de74c6167143d3fe7c55e975f86d authored almost 9 years ago by Jonny Reeves <[email protected]>
Remove `sinon` import from stub

... and we're done here! :D

7b96dfc01b0d332cbd39e824f4a7ffb16eeec090 authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `sinon.behavior` into a CommonJS module

Not part of the public API

1866a98eb4f7b7d642a30186b084c885295462ba authored almost 9 years ago by Jonny Reeves <[email protected]>
Extract `sinon.walk` into a CommonJS module.

No other references outside of stub, but according to the docs it's part of sinon's public API.

0d251272b81eac007039d306daa364f11a414669 authored almost 9 years ago by Jonny Reeves <[email protected]>
Export stub as a CommonJS module

Move `createStubInstance` to be a member of `stub`; remove local references to `sinon.stub`

4a8e6a467d8ca7ceae7c9627000d2cb37d458bf8 authored almost 9 years ago by Jonny Reeves <[email protected]>
Import `wrapMethod` as a CommonJS module

Had to defer a couple of stub-tests which tightly coupled stub.js to `sinon.wrapMethod`; should ...

5bdec984cc09bd826f66968d953f25f4903ddba3 authored almost 9 years ago by Jonny Reeves <[email protected]>