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

Import core dependencies as CommonJS modules

7aab188066f66a7f1fcb4459a990b5a4418d9b01 authored almost 9 years ago by Jonny Reeves <[email protected]>
Delete .jscsrc

Following on from #909, this file is now redundant.

07a08e48fb34484c95523d637576c0c174b14fab authored almost 9 years ago by John Reeves <[email protected]>
Merge pull request #930 from fatso83/web-worker-support

Ensure support for running inside a WebWorker

89963e5196f1a981262327e33f59882bea69b295 authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Ensure sinon can run in a WebWorker

Related to the fixes in #908.

It turned out that although we support running Sinon inside
a Web...

cac799765ae8fcab7dd763d4fc0b8f44fce84615 authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #920 from fearphage/cjs-spy

Commonjs-ified sinon.spy

0621f1ec9bbbcaa4671c05599d5dc47fc2ea135e authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #927 from azizpunjani/called-on-accepts-matcher

Updated docs to reflect that calledOn accepts a matcher

4082b8987803c3ac4695b8babe8dc1758906f94a authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Updated docs to reflect that calledOn accepts a matcher

8e9a1da8662a88a5362782037c9c356bc392e39c authored almost 9 years ago by Aziz Punjani <[email protected]>
simplified test and added a note

0c9f346e592b0639df64647077afe9ba5656fb43 authored almost 9 years ago by Phred <[email protected]>
updated to require spy in its new cjs form

651a3c7375c0ede4e481f3363a6c814ff650e158 authored almost 9 years ago by Phred <[email protected]>
./commonjs

ec1b6c7bc91059b805dd9b7fedec962f03ab2e81 authored almost 9 years ago by Phred <[email protected]>
expose sinon.spy and sinon.spyCall

2268a565ef0063a2c8f8273436e555f30a1bcdd3 authored almost 9 years ago by Phred <[email protected]>
converted spy to commonjs format

* sinon/core.format is the last non-cjs piece

e6c279f177891bf6c8ebbc0dbf7d13de2ffadd5a authored almost 9 years ago by Phred <[email protected]>
Merge pull request #866 from shaine/fix/callbackContextError

Allow yieldsOn, callsArgOn on any defined context

ef0d498dba2f21053bda45654275925a6af223f6 authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
moved sinon.format() to core

* commonjs-ified sinon.format

b469bae8c10f3de9036775fe321abdc555a0c9ce authored almost 9 years ago by Phred <[email protected]>
Merge pull request #918 from fearphage/fix-spy-property-descriptors

Fix interaction with spy getters/setters - fixes #917

5b0686a877cd8d8b8e7b08d4a0b321beeec39c1c authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
fixed spy tests

4dea77cc3ad7dc14d7d3b404ee075c15732ed33e authored almost 9 years ago by Phred <[email protected]>
added missing test (pushes spy coverage to 100%)

63efa9ede712bb57567b0e5a53e7257e895ecf4c authored almost 9 years ago by Phred <[email protected]>
added spy getter/setter tests

1e912b4b719ca2c4dd356c3de56e96fef68870b7 authored almost 9 years ago by Phred <[email protected]>
updated sinon.spy() to properly handle getters and setters

13bf81d7ad2cd1f792c636ebf910bd53e2081304 authored almost 9 years ago by Phred <[email protected]>
Merge pull request #915 from thefourtheye/patch-1

Remove unnecessary error variable

6a79d61d5a51aff4cead9e681303ab19968c0d1b authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Remove unnecessary error variable

218341b03175a7b76972ae4dd3553508875919e8 authored almost 9 years ago by thefourtheye <[email protected]>
Merge pull request #913 from fearphage/fix-stubbed-getter

Prevent stubbed getter from being called during restore()

62ee2ba9b4a6118d83175800cfc47a5e41c8130b authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Prevent stubbed getter from being called during restore() - fixes #897

2417473cda5912ca3461c8f4acfa56765f33cae6 authored almost 9 years ago by Phred <[email protected]>
Merge pull request #894 from JoshuaKGoldberg/patch-1

Allow requestBody in FakeXDomainRequest, FakeXMLHttpRequest for GET requests

c2fda34214c98f5c41b1fa55bb806de660549bde authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Allowed GET requests to have request bodies

As per the spec, they should be allowed. This removes them from the
blacklist (which now is just...

ee0a51cc583ba6b86641288c844938b0d306bcad authored almost 9 years ago by Josh Goldberg <[email protected]>
Merge pull request #891 from mroderick/use-immediate-exceptions

Use immediate exceptions

992880d9012ac774d121750c9dd100d56a79c2b3 authored almost 9 years ago by Morgan Roderick <[email protected]>
Merge pull request #909 from mroderick/remove-jscs-from-devdependencies

Remove JSCS from devDependencies

0d6f16b688faea9a43a3f04491086b9850d9bb4f authored almost 9 years ago by Morgan Roderick <[email protected]>
Remove JSCS from devDependencies

We haven't used it for awhile, let's stop installing it

50a28fc643fe3f9d966a9f64db32d70fe276e129 authored almost 9 years ago by Morgan Roderick <[email protected]>
Merge pull request #907 from gitter-badger/gitter-badge

Add a Gitter chat badge to README.md

11667b6506d5688258d60b9a7dfc62cd7f229269 authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Add Gitter badge

50f5547c8d20ad916a05c64dbcc9318f792b93b2 authored almost 9 years ago by The Gitter Badger <[email protected]>
Merge pull request #899 from fearphage/simplify-match

Replaced switch statement in favor of object lookup

71a92545586246b7ae05e5537ec4b6027c6c6e68 authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Allow yieldsOn, callsArgOn, callsArgOnWith, yieldsToOn to use any

context

bcf16631e86691dcb0c679df5aa62c47d630c474 authored almost 9 years ago by Shaine Hatch <[email protected]>
Merge pull request #901 from mroderick/add-bithound-badges

Add bithound badge to README.md

1619ff403c613272009de05174d342d2852e67fd authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Add bithound badge to README.md

a3f1075dc882e0bf337d1cdb5dd2a1e2d39822f4 authored almost 9 years ago by Morgan Roderick <[email protected]>
removed switch statement in favor of object lookup

34287404398cea8b7f9bc8ac0b2d80daf23a133a authored almost 9 years ago by Phred <[email protected]>
Merge pull request #889 from jollytoad/issue-887-squashed

Allow prototype-less comparisons

Fixes #887

f13c1b50766112fdca3baeff2e10cbaadfadc3df authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #886 from johann-sonntagbauer/fix#875

Fix #875 Proper support UTF8 payloads

d931ca69383e23a56b863fd519d9f4617f323148 authored almost 9 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #890 from mroderick/import-docs

New documentation site!

875c1d835be155ef0b6629082c18ede9fadd9858 authored almost 9 years ago by Christian Johansen <[email protected]>
Use immediate exceptions

3920d069014ca3f94092c6cab972daf3b6544bf4 authored almost 9 years ago by Morgan Roderick <[email protected]>
Merge pull request #858 from timwienk/bug-ie11-window-conditionals

lib/sinon/util: Remove window conditionals from IE files.

e747b8267114609d80b03908d326a117bfe87a87 authored almost 9 years ago by Morgan Roderick <[email protected]>
lib/sinon/util: Remove window conditionals from IE files.

The removed conditionals should not have any functional benefit, so in
that sense it's safe to r...

fb0ba789ed414ab1e2bc48168cfa320a25e6bf16 authored almost 9 years ago by Tim Wienk <[email protected]>
Add docs for sandbox and utils

66ab8981e8d320d54dbbbdd3a7e6b53f5e7a8f01 authored about 9 years ago by Morgan Roderick <[email protected]>
Add documentation for matchers

1ffcaba68714ec5e02a5f1adea6f24860bae4f2c authored about 9 years ago by Morgan Roderick <[email protected]>
Add docs for assertions

d9a916a4def322a14dc1d06a9afa160738f8cc4f authored about 9 years ago by Morgan Roderick <[email protected]>
Add docs for JSON-P

7159dbd04b1a6985cb59f839f95615ae0d794640 authored about 9 years ago by Morgan Roderick <[email protected]>
Add docs for fake server

ea602a54bd4e15ad3f89e9a2a2702d0e82e4ae17 authored about 9 years ago by Morgan Roderick <[email protected]>
Add docs for fake timers

1cf4916633ba81f1f923929c9df011761621b9b5 authored about 9 years ago by Morgan Roderick <[email protected]>
Add mock api descriptions

c628cfa37b22882db0acfd00d924522d1a05d166 authored about 9 years ago by Morgan Roderick <[email protected]>
Add mocks introduction

3323b8a85f47eefca54ce40a16a3860025a786d8 authored about 9 years ago by Morgan Roderick <[email protected]>
Add stubs api

9185a94c86a1bfa24e221a3cb1bc947d4193e618 authored about 9 years ago by Morgan Roderick <[email protected]>
Update TODO

a756ac11c1c0d5afe5f74060daac3c4c469ecb8c authored about 9 years ago by Morgan Roderick <[email protected]>
Use Object.prototype.hasOwnProperty in deepEqual to cope with cases where hasOwnProperty doesn't exist, ie. Object.create(null), or has been overridden on an object.

With tests.

dadfd28b9e0eb8f5c8777abfc8bea759f6b4a58b authored about 9 years ago by Mark Gibson <[email protected]>
Add docs TODO to track outstanding tasks

1bcc937e91bd2eb01c25a3e43f57ab0be74a8ba3 authored about 9 years ago by Morgan Roderick <[email protected]>
Add stubs.md with introduction to stubs

9887963d8b3aa8cd005830fc9dfdd34711e4f687 authored about 9 years ago by Morgan Roderick <[email protected]>
Import docs

b2c009c53dd0efebc3104caf7243c9bb2ee97c89 authored about 9 years ago by Morgan Roderick <[email protected]>
Fix #875 Proper support UTF8 payloads

* introduced new dependency "text-encoding"
* delegate encoding operations to TextEncoder/TextDec...

e71564e534bfdfdf6cfb6b384c0babf4ca478ef4 authored about 9 years ago by Johann Hubert Sonntagbauer <[email protected]>
Merge pull request #884 from fearphage/upgrade-eslint

upgraded ESLint to 1.7.1 (latest and greatest)

bb040de3b068bbd33337c3827b14a0be20984bbe authored about 9 years ago by Morgan Roderick <[email protected]>
finished eslint'ing

23721be9f0be678d6dc3e35bac7fd2a46a581068 authored about 9 years ago by Phred <[email protected]>
upgraded ESLint to 1.7.1 (latest and greatest)

* fixed spacing to pass

ae39e7a2054a6ead8eb0303ee3dec0286ab62593 authored about 9 years ago by Phred <[email protected]>
Merge pull request #879 from fearphage/remove-duplicate-times-in-words

Removed duplicate implementation of sinon.timesInWords

7914bc39d95443b9cf89d9e95ecd6622904c3a38 authored about 9 years ago by Morgan Roderick <[email protected]>
Merge pull request #881 from mroderick/travis-cache-node-modules

Make travis cache node_modules to speed up builds

fe183e89b1f268e4aac7838adcec3c3b8a07ad80 authored about 9 years ago by Morgan Roderick <[email protected]>
Merge pull request #882 from fearphage/remove-npm-bin

Removed unneeded path resolution

6de29948c7af35ffaea9847051eccf2ecb08e0cc authored about 9 years ago by Morgan Roderick <[email protected]>
Merge pull request #883 from mroderick/test-in-node-lts

Run tests in node 4.2 LTS (Argon)

e0bfd1c1a3effdc728eb0b28c0a70627fe2c4da2 authored about 9 years ago by Morgan Roderick <[email protected]>
Run tests in node 4.2 LTS (Argon)

7dcb8befb216db8055497a3baf9ca7c56d7c84b8 authored about 9 years ago by Morgan Roderick <[email protected]>
Merge pull request #873 from fearphage/commonjs-ify

CommonJS-ified *some* of the things

07eea6257d313a681c9e2e83a7ed0389d76ba9ea authored about 9 years ago by Morgan Roderick <[email protected]>
removed unneeded path resolution

93bce1f961062855e759ac2532d4a3df1a1f0060 authored about 9 years ago by Phred <[email protected]>
Let npm install handle buster again, now that we have caching of node_modules

9ee782e69a9bc0f398d489e7d155cd77b05e9260 authored about 9 years ago by Morgan Roderick <[email protected]>
Make travis cache node_modules to speed up builds

10a223822d0d463013e8330de17b4f9d1d73e722 authored about 9 years ago by Morgan Roderick <[email protected]>
removed duplicate implementation of sinon.timesInWords

0b766297ef28530fa4669dde3e926c457169ac80 authored about 9 years ago by Phred <[email protected]>
Merge pull request #876 from chentsulin/patch-1

fix travis-ci build svg in README

22e39e5f07a306604f40c1b52a6a586d70626a36 authored about 9 years ago by Maximilian Antoni <[email protected]>
fix travis-ci build svg in README

9e9aaecbad1a424be4f97b510a6d1da499851296 authored about 9 years ago by C. T. Lin <[email protected]>
reviewer comments

* lib/sinon/extend.js - reverted style changes
* everything else - injecting match into deepEqua...

5fd9821a3454e4261e5bbca697fd3f528b1b95b3 authored about 9 years ago by Phred <[email protected]>
cleaning up left over blank lines

acfb4b284048c4f1c37756eff68a5761a7e42506 authored about 9 years ago by Phred <[email protected]>
CommonJS-ified *some* of the things

3f9d623f9e7eaf8053659a378529c498b44e3d62 authored about 9 years ago by Phred <[email protected]>
Merge pull request #861 from fearphage/fix-fake-xhr-events

Fix fake xhr events

a97374641599ed2f451e9a22f784060cf7a38b3e authored about 9 years ago by Christian Johansen <[email protected]>
updated readyStateChange to align to the w3c spec (somewhat)

source: https://xhr.spec.whatwg.org/#request-error-steps

* fixed order of events (xhr && xhr.up...

6ee80ec6b9319289ecf08cfc24a48e0fcfb07c1f authored about 9 years ago by Phred <[email protected]>
added a test to ensure load is not fired before abort

89bb7907bf8dc036e145b92b8758cc7ae5eb6444 authored about 9 years ago by Phred <[email protected]>
cleaned up a few unreleated tests

b1565d600aed61768f4f7eb9c0c2d894c8f54138 authored about 9 years ago by Phred <[email protected]>
updated tests to reflect reality

0c04e2b0b3694b73d2983db8f0bf6db9baa6b15f authored about 9 years ago by Phred <[email protected]>
added test to ensure event ordering

* based on w3c spec https://xhr.spec.whatwg.org/#request-error-steps

7cc4fad2f58852e453fe8ae57fd9914ab3d685cf authored about 9 years ago by Phred <[email protected]>
allow progress events with loaded/total values of 0

d6352d37457fa49f17d948801b22b117444bbbf3 authored about 9 years ago by Phred <[email protected]>
added some additional progress event verification

1b8a22aa8c6250c7aac8b129f6deecedd35bd127 authored about 9 years ago by Phred <[email protected]>
Merge pull request #868 from sinonjs/walk-properties-only-once

Fix #867: Walk properties only once

a63d821e29d1ec81a33c850370cf4ed2c610088e authored about 9 years ago by Morgan Roderick <[email protected]>
Fix #867: Walk properties only once

43ba5b4b60ac88689146a4a78168c450a90ba2ed authored about 9 years ago by Maximilian Antoni <[email protected]>
Merge pull request #869 from grassator/commonjs-part-2-remove-unnecessary-wrappers

Removed unnecessary module wrappers and double test run in NodeJS.

1791ff782268d9f8d81355257fbd579095a3c5ac authored about 9 years ago by Morgan Roderick <[email protected]>
Removed unnecessary module wrappers and double test run in NodeJS.

0a63044f0d73d3fedb469a09a63d722dece45558 authored about 9 years ago by Dmitriy Kubyshkin <[email protected]>
Merge pull request #850 from grassator/common-js-part-1

First effort towards moving to CommonJS

46c04f8fd9c078f4fdfc0b95e1a92dc5b8f2d9f0 authored about 9 years ago by Morgan Roderick <[email protected]>
null-check the object passed to sinon.stub

0485decc170ed4e69e981011e73fa59fdf9f2b41 authored about 9 years ago by Christian Johansen <[email protected]>
Merge pull request #865 from fearphage/add-stub-reset-history

Implemented stub#resetHistory method

fixes #863

41be6e0fd76a0d2671403023f543650dbc472a09 authored about 9 years ago by Carl-Erik Kopseng <[email protected]>
implemented stub#resetHistory method - fixes #863

* refactored stub#reset to call .resetHistory() and .resetBehvaior()

5d9b11883603bc1bf6f91d36e1fde9e752e62e22 authored about 9 years ago by Phred <[email protected]>
Merge pull request #857 from traviskaufman/gh-847-walk-getters

Fix #847: Ensure walk invokes accessors directly on target

324475a098e305b0d97683e7644c3b2db9ad70b8 authored about 9 years ago by Morgan Roderick <[email protected]>
Merge pull request #856 from traviskaufman/gh-852-do-not-restub-constructors

Fixes #852: Do not attempt to re-stub constructors

a4d7e678d8df480d6d6954672217ac5e94fb5719 authored about 9 years ago by Morgan Roderick <[email protected]>
Fix #851: Do not attempt to re-stub constructors

ec69961320f1582a0ea04bbdfcb17a61dcfdad61 authored about 9 years ago by Travis Kaufman <[email protected]>
Fix #847: Ensure walk invokes accessors directly on target

4cf2ff7268b376ad08319343696e8a02a9fea6b7 authored about 9 years ago by Travis Kaufman <[email protected]>
Merge pull request #855 from mroderick/test-in-node-4

Run tests in node 4.1.x also

361680ce0b81032e6666e8bdda01be30394edad4 authored about 9 years ago by Morgan Roderick <[email protected]>
Run tests in node 4.1.x also

58d17876450db459ae7b600758a6b6cabab4c9d4 authored about 9 years ago by Morgan Roderick <[email protected]>
First effort towards moving to CommonJS

db24a7a7cb643d076537458a4147adc29641420f authored about 9 years ago by Dmitriy Kubyshkin <[email protected]>
Update Changelog.txt

Fix version number

3edf7cb65831c3c35035792c316afc4af36af401 authored about 9 years ago by Morgan Roderick <[email protected]>
Merge pull request #837 from dotchev/stub-reset

stub.reset also resets behavior

e1c4a1857816cff44247673223a75ada1d62d3cb authored about 9 years ago by Christian Johansen <[email protected]>
Merge pull request #846 from mroderick/v1.17.0

v1.17.0

c0b4797a5c0262f93f6908d7aa361abb281412cb authored about 9 years ago by Morgan Roderick <[email protected]>