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

Fix broken RunKit embeds after merging #2239

a610f9cade6c028a45a7554123dad8eebdeb4471 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Merge pull request #2239 from fatso83/2152-improve-stubs-doc.md

Additions to 2152: fully tested runnable examples running in RunKit for stubs.md

a5ab9b75a83e4f3ab1d04861832eee0594090507 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Extract markdown linting to filter list

01481c680a6fc482e9c0f290beef1c3bfd0addb7 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Replace @hapi/lab with @fatso83/mini-mocha

It turns out Hapi lab totally fails to work for us:
1. When a test fails (throws), nothing happe...

904b4b9c52080f8f754c3b21fdec79a99360d2ff authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Revert "Update run-test.sh to use LAB runner"

This reverts commit d168b69196fa7908707ab2ab496f9d5f4dbc9cd2.

Turns out Hapi Lab does not throw...

4ef8727dc34a4649cd02287a8f8dc400e380a7a6 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Unescape special characters in javascript code

12d90d8f306d450a3b6d479e154be0891fca826f authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Clean up after unlinking in example script

1075dfe21f06516d54631b17f1c9600b8f544d01 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Move runnable examples test to preversion step

8b1986b18216b1afd46c4c7f394cd46322eb10aa authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Update run-test.sh to use LAB runner

d168b69196fa7908707ab2ab496f9d5f4dbc9cd2 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
RunKit is incompatible with 'use strict'. Removing

8a66fd2929e22cf9f426100b08f97c5c633189bc authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Update tests to ES2017 and run in Hapi

Avoids polluting the global scope

a1ba396ba4909d87542bc11b9ce4c3e764fdcaa1 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Rename example extensions: .stub => .test.js

5d9324c44e7b688612d38d94e8d2f10122e480a0 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Add comment to package.json

df4b04333a948c7a992884c5185d884dc03a742e authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Fix all eslint/prettier violations

Relaxing somewhat due to our tests being meant
as pedagogical tools, not production code. As suc...

9a3839cc2b7f1a25b870bfbc87eb4c5390020e9e authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Make stubs example run without failing due to uncaught exceptions

Reuses the test from the PubSubJS source:
https://github.com/mroderick/PubSubJS/blob/master/test...

f3cfecfbcb1f08b77f03d130448a0b2729004ab1 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Fix broken example. Add test-runner

037872dbe31a6d0a9d3b44eca6b6aac94e81c325 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Update docs/changelog.md and set new release id in docs/_config.yml

d2b4b726529f167d908747d2173b5491794ac718 authored over 4 years ago by Morgan Roderick <[email protected]>
Add release documentation for v9.0.1

c99f6eaafdf28dfabb5600fcb40ba234317d5d2b authored over 4 years ago by Morgan Roderick <[email protected]>
9.0.1

0fe75bfc1d9cedd1794220dc98aa9792421a78ce authored over 4 years ago by Morgan Roderick <[email protected]>
Update CHANGELOG.md and AUTHORS for new release

e24b7e77ec6704dfa4775363bcd272c44d8261a3 authored over 4 years ago by Morgan Roderick <[email protected]>
Upgrade @sinonjs/samsam to latest

00b40a6456bd336d24171e02377b9fc72f89735f authored over 4 years ago by Morgan Roderick <[email protected]>
Upgrade @sinonjs/formatio to latest

decaec64c3427f347a111bf8e7390a58dc6b52e3 authored over 4 years ago by Morgan Roderick <[email protected]>
Merge pull request #2237 from fatso83/issue-2226

Fix 2226: restore props defined on prototype chain by deleting

775e53b1c5b66de2e15e4c4794474a80914604c2 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Remove needless intermediary

92dc087eace469b0db31f36b3521f2f5c697dfcf authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
[fix] stubs restore prototype props correctly

closes #2226

1fe433e1e36749a32e73f1cee6b7fd442d046977 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Rename util

49abbad12eb644c2ed55601f60ca085208258213 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
[fix] sandbox.restore handles protype props

4b55c62b494ed3405409e48f4d614a227659e0bf authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Simplify sandbox fix by reusing the fix for stubs

25311e4956f8898ae0ead6c164cdf71af426b507 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Add custom prop isOwn to descriptor

Makes it possible to see if the descriptor
originates from the object or its prototype chain

3031027894ce259d06c551f956c2c7bab414c6fa authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Add verification tests for #2226

aac0bc3665a9e9943e65b1cd263ae166cdd977cf authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Bump @sinonjs/commons from 1.7.0 to 1.7.1

Bumps [@sinonjs/commons](https://github.com/sinonjs/commons) from 1.7.0 to 1.7.1.
- [Release not...

5436466d10b2ab1e39dc8aceef9939a72f611531 authored over 4 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump markdownlint-cli from 0.21.0 to 0.22.0

Bumps [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) from 0.21.0 to 0.22....

f63e27c3e75534646773916c96f6511e9c7dd4aa authored over 4 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump husky from 4.2.1 to 4.2.3

Bumps [husky](https://github.com/typicode/husky) from 4.2.1 to 4.2.3.
- [Release notes](https://...

5b9fa0263ef0ec5a036fa1440ee36bd4f09770f8 authored over 4 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump nise from 4.0.1 to 4.0.3

Bumps [nise](https://github.com/sinonjs/nise) from 4.0.1 to 4.0.3.
- [Release notes](https://git...

850226599fbea87d4fb5f1e31509a18481c63616 authored over 4 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Added missing documentation for sinon.assert.calledOnceWithExactly

446539958814573b99ea62e158242c5c6e6dad7d authored over 4 years ago by Rich Hodgkins <[email protected]>
Bump nokogiri from 1.10.3 to 1.10.8

Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.3 to 1.10.8.
- [Release no...

00aa72075441cc8d8c02871b939e1af0977fcfca authored over 4 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Remove unused stub-non-function-property.js

This has been unused since 2e8abade299a7da7de3b3d6aacff98ea4ac8cb98

b730d867a0144a7405cc760cadb7dda2383a399c authored over 4 years ago by Morgan Roderick <[email protected]>
Merge pull request #2223 from mroderick/add-link-to-immutablejd-article

Add link to article about testing ImmutableJS with Sinon custom matchers

1704d8d381dfd38f5b6637af5a554e9aa344d597 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Add link to article about testing ImmutableJS with Sinon custom matchers

859c7f5ccccc6561194743b2e12b9623319019ba authored over 4 years ago by Morgan Roderick <[email protected]>
Update docs/changelog.md and set new release id in docs/_config.yml

fc1179bb8bf6172dcfc4dec8ca082903b06064c5 authored over 4 years ago by Morgan Roderick <[email protected]>
9.0.0

27225e4e9154e33e3c32875d8aa04f06f49034ee authored over 4 years ago by Morgan Roderick <[email protected]>
Add release documentation for v9.0.0

227cb59fef4de0bb3848bdf7299bfc832019d86f authored over 4 years ago by Morgan Roderick <[email protected]>
Update CHANGELOG.md and AUTHORS for new release

a83cff981987aeb8430afce382dd49c94f9df442 authored over 4 years ago by Morgan Roderick <[email protected]>
Ignore errors on thisValue property accesses

a49167cba0c01d601735186fb2e81c45762f2e2b authored over 4 years ago by Zach Bloomquist <[email protected]>
Add failing test for #2215

8c8336c1650ffb9e471ddae530c170260e427181 authored over 4 years ago by Zach Bloomquist <[email protected]>
Replace lolex with @sinonjs/fake-timers

The package was renamed. There are no changes in compatibility

10a9182bfe27b357460e80089f0539091ab1c16e authored over 4 years ago by Morgan Roderick <[email protected]>
Bump nise to 4.0.1

This replaces lolex with @sinonjs/fake-timers

0b3018780533d833125392afa2a2335a8babbc1c authored over 4 years ago by Morgan Roderick <[email protected]>
Bump @sinonjs/samsam

823194cff744510456c0a47cc7e935ca569f3c01 authored over 4 years ago by Morgan Roderick <[email protected]>
Bump @sinonjs/formatio

9f7483ff5b568b6c9dd1b9ca7bc50e55ac4375ee authored over 4 years ago by Morgan Roderick <[email protected]>
Merge pull request #2210 from mroderick/drop-node-8

Drop Node 8 support

3a5e5c756fd0c03f738561d7abc55f751079fab0 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
using more explicit assertions (#2221)

7498f1a1f4bbf491d3cd20481bcecb1a7722cda4 authored over 4 years ago by Phred Lane <[email protected]>
Add firstArg to spy calls and fakes. (#2150)

Add firstCall convenience property to get the first argument of the last call of a fake.

9d4a01bcc4de1f881bb1743535a5273f42a4c457 authored over 4 years ago by Katrina Theodosopoulos <[email protected]>
Merge branch 'master' into drop-node-8

7e26306c7d3c789736af6619759cdc18368304c7 authored over 4 years ago by Phred Lane <[email protected]>
Bump puppeteer from 1.20.0 to 2.1.0

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 1.20.0 to 2.1.0.
- [Release notes...

e468fb5608c2a92a25f1f2db90b60ec8b00cf657 authored over 4 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump lint-staged from 9.5.0 to 10.0.7

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.5.0 to 10.0.7.
- [Release note...

1b420026e4a05828ddbe6dffb23e3c1b766dfb1c authored over 4 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Add CODE_OF_CONDUCT.md

1ea7c277596f3ab328d2906fd76dc39a52607309 authored over 4 years ago by Morgan Roderick <[email protected]>
Run tests in Sauce Labs

cd5b583cbee3f5174c390f959000d32d782bf308 authored over 4 years ago by Morgan Roderick <[email protected]>
Drop Node 8 support

As can be seen at https://github.com/nodejs/Release, Node 8 reached
"end" of life on 2019-12-31,...

14b221ece34fcd063f1792ecb9f14497c653a383 authored over 4 years ago by Morgan Roderick <[email protected]>
Bump husky from 3.1.0 to 4.2.1

Bumps [husky](https://github.com/typicode/husky) from 3.1.0 to 4.2.1.
- [Release notes](https://...

293984c826d05226de083e08bbc5d7fea1895080 authored over 4 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump eslint-config-prettier from 6.9.0 to 6.10.0

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.9.0 to...

cce7006f1045b29f4c69f82b977a0c00fb5ab881 authored over 4 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump markdownlint-cli from 0.20.0 to 0.21.0

Bumps [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) from 0.20.0 to 0.21....

008966b2f18dd7cff7d95c19cdce94620451079b authored over 4 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
add a wrappedMethod test

f8b8606260c52c610914451e34376455157ade99 authored over 4 years ago by 43081j <[email protected]>
docs: add `wrappedMethod` line

1e81ec32d7fe696debd9284c3cb15dcffbfff45c authored over 4 years ago by 43081j <[email protected]>
Update docs/changelog.md and set new release id in docs/_config.yml

c13dd54d9c07fc9d10b5706dfc2af49456e3acd1 authored over 4 years ago by Morgan Roderick <[email protected]>
Add release documentation for v8.1.1

ef6f20fc6a7e86706ab406346aeebab68c9f99dd authored over 4 years ago by Morgan Roderick <[email protected]>
8.1.1

f8695b0b558e263144eb2657abef3e359c320630 authored over 4 years ago by Morgan Roderick <[email protected]>
Update CHANGELOG.md and AUTHORS for new release

61605c139f78091ef702c31da6eaf2c701196995 authored over 4 years ago by Morgan Roderick <[email protected]>
Add links for better docs campaign

942878a48320edb002ba99366657efbbae55bbd7 authored over 4 years ago by Morgan Roderick <[email protected]>
Merge pull request #2200 from sinonjs/ci-action-performance

Ci action performance

9f5901545ed4f669680261d78f01cdc92aad013e authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Set SINON_CHROME_BIN for esm-bundle test

78c96e5cd2dbd9d648c414aa3a7a178f66970fd9 authored over 4 years ago by Maximilian Antoni <[email protected]>
Skip Chromium download in GitHub action

d86321ed05300c4def5233c658780fb41a13258a authored over 4 years ago by Maximilian Antoni <[email protected]>
Add module caching to GitHub action

181a03030b133e63cc06f3335dbbe856ab6e216b authored over 4 years ago by Maximilian Antoni <[email protected]>
Update docs/changelog.md and set new release id in docs/_config.yml

384732e1570929afc677c15dbbdaf76ff8924544 authored almost 5 years ago by Morgan Roderick <[email protected]>
Add release documentation for v8.1.0

dbfe6916a3dc01196cc09298ece4831dd651fdce authored almost 5 years ago by Morgan Roderick <[email protected]>
8.1.0

cb8f3b7528232c5590d430ba5131c611407e4d2c authored almost 5 years ago by Morgan Roderick <[email protected]>
Update CHANGELOG.md and AUTHORS for new release

3c6fd398dfc912d54860aa07585563f05d7f6f94 authored almost 5 years ago by Morgan Roderick <[email protected]>
Update @sinonjs/samsam to latest

cd27e2554717e325072d7205e4b814e760d83809 authored almost 5 years ago by Morgan Roderick <[email protected]>
Merge pull request #2199 from RealZogger/getCall-negative

Support negative indices in getCall

7c79e807caf35e55de706878efd57856c9e90897 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>
Add clarifying comment for negative indices

d851a5ed367faadb97a410a017f14097f986e277 authored almost 5 years ago by RealZogger <[email protected]>
Support negative indices in getCall

This allows getting calls indexed from the end of the array
e.g. -1 gets the last call, -2 gets ...

6d59744bd5ada23bec3df3b69ee2fada5158cf30 authored almost 5 years ago by RealZogger <[email protected]>
make examples in stubs doc runnable

a504bd8ada55ea53bd4eeb603057947c3f1ef179 authored almost 5 years ago by andrew <[email protected]>
Update docs/changelog.md and set new release id in docs/_config.yml

2369139d9213d872c3c68d2d62a5d97aa988ce0f authored almost 5 years ago by Morgan Roderick <[email protected]>
Add release documentation for v8.0.4

1d486d2638d890275f73274ba5d2d7106004d571 authored almost 5 years ago by Morgan Roderick <[email protected]>
8.0.4

a366e7b6c4e31b4a42026a81023579860b26b4ad authored almost 5 years ago by Morgan Roderick <[email protected]>
Update CHANGELOG.md and AUTHORS for new release

97c6a969fed1a4caf9adfe252b63e0fcc25b771b authored almost 5 years ago by Morgan Roderick <[email protected]>
Merge branch 'master' of github.com:sinonjs/sinon

* 'master' of github.com:sinonjs/sinon:
Remove misleading 'own' from exception message
[refa...

df530c78dfd3e22eb424006aede28e27817286d0 authored almost 5 years ago by Morgan Roderick <[email protected]>
Merge pull request #2193 from fatso83/sandbox-restore-spies

Restore fully spied objects in the sandbox

b89b011218d3c88d6dedbcb8d923bf4b1d7402b4 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>
Update docs/changelog.md and set new release id in docs/_config.yml

999e148ac5bbd2f0c16277520124843873fc05b6 authored almost 5 years ago by Morgan Roderick <[email protected]>
Add release documentation for v8.0.3

f77edbd8b5a3a3a9662836aa5a78c4c1a5c11ceb authored almost 5 years ago by Morgan Roderick <[email protected]>
8.0.3

8b55dea9c383b5813c9b4f3f935b7f618243dc71 authored almost 5 years ago by Morgan Roderick <[email protected]>
Update CHANGELOG.md and AUTHORS for new release

e2df1c5c5a566713a8c71a0fd497f7159150f2bb authored almost 5 years ago by Morgan Roderick <[email protected]>
Merge pull request #2186 from sinonjs/move-printf-to-proxy

Move printf to proxy

eea355117790451658cfe9ea7d6a8907c310e325 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>
Remove misleading 'own' from exception message

The property descriptor is recursively retrieved up the
prototype chain. It can by thus often _n...

89797844bd7ada987e8524b387e9b28c070e51d2 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>
[refactor] Extract call to simplify function intent

7cf7dbc6b88bb2d0c799289148f3884fbf09aef7 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>
Remove redundant checks done later in code path

Both spy.js and stub.js has these checks already

a17d8fd058a534a94d456718c2b51bec09374264 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>
Share code path for spies and stubs in sandbox

fixes #2192

d942722e504e51d88e52f4735b47c44dc64f7ea1 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>
Bump nyc from 14.1.1 to 15.0.0

Bumps [nyc](https://github.com/istanbuljs/nyc) from 14.1.1 to 15.0.0.
- [Release notes](https://...

5dbf8e202309bab32811a4040a550c6eabd3f6ce authored almost 5 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump babel-plugin-istanbul from 5.2.0 to 6.0.0

Bumps [babel-plugin-istanbul](https://github.com/istanbuljs/babel-plugin-istanbul) from 5.2.0 to...

7e50083e1928740d70d091ba88b147f5a4488b2f authored almost 5 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump eslint from 6.7.2 to 6.8.0

Bumps [eslint](https://github.com/eslint/eslint) from 6.7.2 to 6.8.0.
- [Release notes](https://...

f55033122a497ccd9fe82081403afca93ccb76aa authored almost 5 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump eslint-config-prettier from 6.7.0 to 6.9.0

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.7.0 to...

3b607eaff4672c9b667820d29682ccd06b6544b2 authored almost 5 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>