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
a610f9cade6c028a45a7554123dad8eebdeb4471 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
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]>01481c680a6fc482e9c0f290beef1c3bfd0addb7 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
It turns out Hapi lab totally fails to work for us:
1. When a test fails (throws), nothing happe...
This reverts commit d168b69196fa7908707ab2ab496f9d5f4dbc9cd2.
Turns out Hapi Lab does not throw...
4ef8727dc34a4649cd02287a8f8dc400e380a7a6 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>12d90d8f306d450a3b6d479e154be0891fca826f authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
1075dfe21f06516d54631b17f1c9600b8f544d01 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
8b1986b18216b1afd46c4c7f394cd46322eb10aa authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
d168b69196fa7908707ab2ab496f9d5f4dbc9cd2 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
8a66fd2929e22cf9f426100b08f97c5c633189bc authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Avoids polluting the global scope
a1ba396ba4909d87542bc11b9ce4c3e764fdcaa1 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>5d9324c44e7b688612d38d94e8d2f10122e480a0 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
df4b04333a948c7a992884c5185d884dc03a742e authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Relaxing somewhat due to our tests being meant
as pedagogical tools, not production code. As suc...
Reuses the test from the PubSubJS source:
https://github.com/mroderick/PubSubJS/blob/master/test...
037872dbe31a6d0a9d3b44eca6b6aac94e81c325 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
d2b4b726529f167d908747d2173b5491794ac718 authored over 4 years ago by Morgan Roderick <[email protected]>
c99f6eaafdf28dfabb5600fcb40ba234317d5d2b authored over 4 years ago by Morgan Roderick <[email protected]>
0fe75bfc1d9cedd1794220dc98aa9792421a78ce authored over 4 years ago by Morgan Roderick <[email protected]>
e24b7e77ec6704dfa4775363bcd272c44d8261a3 authored over 4 years ago by Morgan Roderick <[email protected]>
00b40a6456bd336d24171e02377b9fc72f89735f authored over 4 years ago by Morgan Roderick <[email protected]>
decaec64c3427f347a111bf8e7390a58dc6b52e3 authored over 4 years ago by Morgan Roderick <[email protected]>
Fix 2226: restore props defined on prototype chain by deleting
775e53b1c5b66de2e15e4c4794474a80914604c2 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>92dc087eace469b0db31f36b3521f2f5c697dfcf authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
closes #2226
1fe433e1e36749a32e73f1cee6b7fd442d046977 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>49abbad12eb644c2ed55601f60ca085208258213 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
4b55c62b494ed3405409e48f4d614a227659e0bf authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
25311e4956f8898ae0ead6c164cdf71af426b507 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Makes it possible to see if the descriptor
originates from the object or its prototype chain
aac0bc3665a9e9943e65b1cd263ae166cdd977cf authored over 4 years ago by Carl-Erik Kopseng <[email protected]>
Bumps [@sinonjs/commons](https://github.com/sinonjs/commons) from 1.7.0 to 1.7.1.
- [Release not...
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>
Bumps [husky](https://github.com/typicode/husky) from 4.2.1 to 4.2.3.
- [Release notes](https://...
Bumps [nise](https://github.com/sinonjs/nise) from 4.0.1 to 4.0.3.
- [Release notes](https://git...
446539958814573b99ea62e158242c5c6e6dad7d authored over 4 years ago by Rich Hodgkins <[email protected]>
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.3 to 1.10.8.
- [Release no...
This has been unused since 2e8abade299a7da7de3b3d6aacff98ea4ac8cb98
b730d867a0144a7405cc760cadb7dda2383a399c authored over 4 years ago by Morgan Roderick <[email protected]>Add link to article about testing ImmutableJS with Sinon custom matchers
1704d8d381dfd38f5b6637af5a554e9aa344d597 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>859c7f5ccccc6561194743b2e12b9623319019ba authored over 4 years ago by Morgan Roderick <[email protected]>
fc1179bb8bf6172dcfc4dec8ca082903b06064c5 authored over 4 years ago by Morgan Roderick <[email protected]>
27225e4e9154e33e3c32875d8aa04f06f49034ee authored over 4 years ago by Morgan Roderick <[email protected]>
227cb59fef4de0bb3848bdf7299bfc832019d86f authored over 4 years ago by Morgan Roderick <[email protected]>
a83cff981987aeb8430afce382dd49c94f9df442 authored over 4 years ago by Morgan Roderick <[email protected]>
a49167cba0c01d601735186fb2e81c45762f2e2b authored over 4 years ago by Zach Bloomquist <[email protected]>
8c8336c1650ffb9e471ddae530c170260e427181 authored over 4 years ago by Zach Bloomquist <[email protected]>
The package was renamed. There are no changes in compatibility
10a9182bfe27b357460e80089f0539091ab1c16e authored over 4 years ago by Morgan Roderick <[email protected]>This replaces lolex with @sinonjs/fake-timers
0b3018780533d833125392afa2a2335a8babbc1c authored over 4 years ago by Morgan Roderick <[email protected]>823194cff744510456c0a47cc7e935ca569f3c01 authored over 4 years ago by Morgan Roderick <[email protected]>
9f7483ff5b568b6c9dd1b9ca7bc50e55ac4375ee authored over 4 years ago by Morgan Roderick <[email protected]>
Drop Node 8 support
3a5e5c756fd0c03f738561d7abc55f751079fab0 authored over 4 years ago by Carl-Erik Kopseng <[email protected]>7498f1a1f4bbf491d3cd20481bcecb1a7722cda4 authored over 4 years ago by Phred Lane <[email protected]>
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]>7e26306c7d3c789736af6619759cdc18368304c7 authored over 4 years ago by Phred Lane <[email protected]>
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 1.20.0 to 2.1.0.
- [Release notes...
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.5.0 to 10.0.7.
- [Release note...
1ea7c277596f3ab328d2906fd76dc39a52607309 authored over 4 years ago by Morgan Roderick <[email protected]>
cd5b583cbee3f5174c390f959000d32d782bf308 authored over 4 years ago by Morgan Roderick <[email protected]>
As can be seen at https://github.com/nodejs/Release, Node 8 reached
"end" of life on 2019-12-31,...
Bumps [husky](https://github.com/typicode/husky) from 3.1.0 to 4.2.1.
- [Release notes](https://...
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>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>f8b8606260c52c610914451e34376455157ade99 authored over 4 years ago by 43081j <[email protected]>
1e81ec32d7fe696debd9284c3cb15dcffbfff45c authored over 4 years ago by 43081j <[email protected]>
c13dd54d9c07fc9d10b5706dfc2af49456e3acd1 authored over 4 years ago by Morgan Roderick <[email protected]>
ef6f20fc6a7e86706ab406346aeebab68c9f99dd authored over 4 years ago by Morgan Roderick <[email protected]>
f8695b0b558e263144eb2657abef3e359c320630 authored over 4 years ago by Morgan Roderick <[email protected]>
61605c139f78091ef702c31da6eaf2c701196995 authored over 4 years ago by Morgan Roderick <[email protected]>
942878a48320edb002ba99366657efbbae55bbd7 authored over 4 years ago by Morgan Roderick <[email protected]>
Ci action performance
9f5901545ed4f669680261d78f01cdc92aad013e authored over 4 years ago by Carl-Erik Kopseng <[email protected]>78c96e5cd2dbd9d648c414aa3a7a178f66970fd9 authored over 4 years ago by Maximilian Antoni <[email protected]>
d86321ed05300c4def5233c658780fb41a13258a authored over 4 years ago by Maximilian Antoni <[email protected]>
181a03030b133e63cc06f3335dbbe856ab6e216b authored over 4 years ago by Maximilian Antoni <[email protected]>
384732e1570929afc677c15dbbdaf76ff8924544 authored almost 5 years ago by Morgan Roderick <[email protected]>
dbfe6916a3dc01196cc09298ece4831dd651fdce authored almost 5 years ago by Morgan Roderick <[email protected]>
cb8f3b7528232c5590d430ba5131c611407e4d2c authored almost 5 years ago by Morgan Roderick <[email protected]>
3c6fd398dfc912d54860aa07585563f05d7f6f94 authored almost 5 years ago by Morgan Roderick <[email protected]>
cd27e2554717e325072d7205e4b814e760d83809 authored almost 5 years ago by Morgan Roderick <[email protected]>
Support negative indices in getCall
7c79e807caf35e55de706878efd57856c9e90897 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>d851a5ed367faadb97a410a017f14097f986e277 authored almost 5 years ago by RealZogger <[email protected]>
This allows getting calls indexed from the end of the array
e.g. -1 gets the last call, -2 gets ...
a504bd8ada55ea53bd4eeb603057947c3f1ef179 authored almost 5 years ago by andrew <[email protected]>
2369139d9213d872c3c68d2d62a5d97aa988ce0f authored almost 5 years ago by Morgan Roderick <[email protected]>
1d486d2638d890275f73274ba5d2d7106004d571 authored almost 5 years ago by Morgan Roderick <[email protected]>
a366e7b6c4e31b4a42026a81023579860b26b4ad authored almost 5 years ago by Morgan Roderick <[email protected]>
97c6a969fed1a4caf9adfe252b63e0fcc25b771b authored almost 5 years ago by Morgan Roderick <[email protected]>
* 'master' of github.com:sinonjs/sinon:
Remove misleading 'own' from exception message
[refa...
Restore fully spied objects in the sandbox
b89b011218d3c88d6dedbcb8d923bf4b1d7402b4 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>999e148ac5bbd2f0c16277520124843873fc05b6 authored almost 5 years ago by Morgan Roderick <[email protected]>
f77edbd8b5a3a3a9662836aa5a78c4c1a5c11ceb authored almost 5 years ago by Morgan Roderick <[email protected]>
8b55dea9c383b5813c9b4f3f935b7f618243dc71 authored almost 5 years ago by Morgan Roderick <[email protected]>
e2df1c5c5a566713a8c71a0fd497f7159150f2bb authored almost 5 years ago by Morgan Roderick <[email protected]>
Move printf to proxy
eea355117790451658cfe9ea7d6a8907c310e325 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>
The property descriptor is recursively retrieved up the
prototype chain. It can by thus often _n...
7cf7dbc6b88bb2d0c799289148f3884fbf09aef7 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>
Both spy.js and stub.js has these checks already
a17d8fd058a534a94d456718c2b51bec09374264 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>fixes #2192
d942722e504e51d88e52f4735b47c44dc64f7ea1 authored almost 5 years ago by Carl-Erik Kopseng <[email protected]>
Bumps [nyc](https://github.com/istanbuljs/nyc) from 14.1.1 to 15.0.0.
- [Release notes](https://...
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>
Bumps [eslint](https://github.com/eslint/eslint) from 6.7.2 to 6.8.0.
- [Release notes](https://...
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>