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
Update .npmignore
6f8856fdc8b7d5350d52f4bd4840b83e4265c02b authored over 10 years ago by Christian Johansen <[email protected]>Added /test directory to npm ignore
c52896a92f588de57c7a7c13dc948b0e8f65a64d authored over 10 years ago by Nicholas Stephan <[email protected]>29abd353a037adaaea697b93729be2ff164101eb authored over 10 years ago by Christian Johansen <[email protected]>
xdomainrequest: Convert to Unix (LF) new lines
6a541bb84aac2e7f2a418da9cbce01ea40c4ffc9 authored over 10 years ago by Christian Johansen <[email protected]>Alternatively, if the # of parameters really matters for define() and/or backwards compatibility...
fe586d41b07df5758cae9e4378b0ea3919796484 authored over 10 years ago by Jordan Hawker <[email protected]>Follows-up 50d3cad, 26e0399.
707030dc7bc6fe57a6328e2a7be8cab52ed894ed authored over 10 years ago by Timo Tijhof <[email protected]>Allow null as argument to clearTimeout and clearInterval
4cc7c7bb09caf475c13f4271456ca53c552d0172 authored over 10 years ago by Christian Johansen <[email protected]>5f45d2e89ca7c2495ab8ae3b6709ed590d4ca0f1 authored over 10 years ago by Lars Thorup <[email protected]>
Fix loading in Web Workers.
ab91d15ff313a0373497c1aff1026f6dcbbdad5d authored over 10 years ago by Christian Johansen <[email protected]>Use SVG badge
6c61192ce415dd037a2a055722a21b9d055d2d0c authored over 10 years ago by Christian Johansen <[email protected]>
When sinon.js is loaded via an importScript in a Web Worker, "this" is
not set to the global obj...
SVG badges look beautiful on retina displays.
24a4af672e39c244cea30319ee9fb1e6cc0a8e17 authored over 10 years ago by Shinnosuke Watanabe <[email protected]>25c272e5987e3f94c728b2f30c0fa3c85431c539 authored over 10 years ago by Christian Johansen <[email protected]>
94da394d67779ae8c66eea3e3b36e682dcf315fe authored over 10 years ago by Christian Johansen <[email protected]>
92ac04f01acdc56fcb3e6f4a481cdc61d48d9ba7 authored over 10 years ago by Maximilian Antoni <[email protected]>
Make the fakeServer log function overloadable
1a35affb64c5c75a8cb09aeaada40bd7ee3472be authored over 10 years ago by Christian Johansen <[email protected]>389b227e505fd62180af9aab158fb851d7511384 authored over 10 years ago by Brian M Hunt <[email protected]>
Wraps async test in sinon sandbox
f90ad342b54d041c2fffa1fc65fd27f79068448d authored over 10 years ago by Maximilian Antoni <[email protected]>5c783ba5701f2063737d89e778b9aa9ab694a2e8 authored over 10 years ago by Ming Liu <[email protected]>
2d465a924aa4cf060ced27b33e3c476ea47950a6 authored over 10 years ago by Ming Liu <[email protected]>
12d9543336a073f2da5265f26783b1a283ead78b authored over 10 years ago by Ming Liu <[email protected]>
d2554142e989dc21be2be15d359e68b5e5ef4405 authored over 10 years ago by Christian Johansen <[email protected]>
83da83b7617a1ca0cdd76b8ca1951d62f6bb0c9f authored over 10 years ago by Christian Johansen <[email protected]>
141c1ca1e147582dba4b4b2a0289f0634898fcae authored over 10 years ago by Christian Johansen <[email protected]>
944997358703bcc1ee431ee4e38a9384862b3bf9 authored over 10 years ago by Christian Johansen <[email protected]>
d5956c118c8e9afa697cd3d837a47f8c1061b367 authored over 10 years ago by Christian Johansen <[email protected]>
50d3cad37eae3bae8a6ea0a08cc56db40f4b15cf authored over 10 years ago by Christian Johansen <[email protected]>
3ddcc4301bd3dd57a8c04f3cdd1c3254d5a8d9ea authored over 10 years ago by Christian Johansen <[email protected]>
cb653470ab7eb5f65fd8135625abba6f80c9736d authored over 10 years ago by Christian Johansen <[email protected]>
Fix spy createCallProperties not created early enough
46777a29776b2c1e7109db2cc5e18cbb20c9bbbf authored over 10 years ago by Christian Johansen <[email protected]>Reinstate check for typeof `require` == "function"
c71dcd716ab374f9a461c408b5bd1a1bff8ddcca authored over 10 years ago by Christian Johansen <[email protected]>d76b83bc3d8949a3a1ea724077396713bdf62983 authored over 10 years ago by Christian Johansen <[email protected]>
b9c2fb44383d152ba26aafa52774200fb7addceb authored over 10 years ago by James Barwell <[email protected]>
d8b77c1102283b7679a39385549e9090c9622e1f authored over 10 years ago by James Barwell <[email protected]>
This is still an imperfect test for the presence of CommonJS, but
at least it will not attempt t...
0503af164927c535c08edb8e05840bc702aef061 authored over 10 years ago by Jonathan Sokolowski <[email protected]>
04bd4264b4d96f1082ef17d28dc7a5b942f2c8cb authored over 10 years ago by Jonathan Sokolowski <[email protected]>
cd506d3cb46b48e879cb5646236784a2e5036f34 authored over 10 years ago by Jonathan Sokolowski <[email protected]>
320b1adca878f0be76a848ae4f50d3d23371c3ea authored over 10 years ago by Jonathan Sokolowski <[email protected]>
f6d2cd12098e1c643fb8fb56bc44dbb02ea1dd11 authored over 10 years ago by Jonathan Sokolowski <[email protected]>
c1779a3d12aecd4ed0147aed4d175d509395fc60 authored over 10 years ago by Jonathan Sokolowski <[email protected]>
d4eef7f6ec3fea2604f6c7862bf0ddc82e4b0dbe authored over 10 years ago by Jonathan Sokolowski <[email protected]>
33ade0d299167141b4ce032f04631f2908c94797 authored over 10 years ago by Jonathan Sokolowski <[email protected]>
6035d4570c167c6bba1761291554f58fed2cb784 authored over 10 years ago by Jonathan Sokolowski <[email protected]>
355da2abdcb82acb04f40fa43f0f62389843c534 authored over 10 years ago by Jonathan Sokolowski <[email protected]>
No filtering support
26e0399be5efda3e07c8e4c7fb2f469c1c6bbe31 authored over 10 years ago by Søren Enemærke <[email protected]>495cefbb3f3b9013b07d004deb76d7198d0060c6 authored over 10 years ago by Christian Johansen <[email protected]>
Fixes behavior of AMD dependencies.
446e42affeb4762cb85adeeb904aa006d153af7f authored over 10 years ago by Christian Johansen <[email protected]>Allow explicit naming of spies and stubs
778e18561f73e9db4c0c453369472ddbf6913566 authored over 10 years ago by Christian Johansen <[email protected]>
- Switches to Simplified CommonJS AMD syntax which allows code reuse
with Node.
- Adds define ...
3f32be09e30e1b3d4d05962ee60863f788546293 authored over 10 years ago by Glen Mailer <[email protected]>
Called with exactly bug
e52fe0f9be8ec7c5de6251f169bdeba95a963ff6 authored over 10 years ago by Christian Johansen <[email protected]>b747834afd9009ba6d43db9c142fabf8846bba15 authored over 10 years ago by Bryan Donovan <[email protected]>
af860590230b6160b6a48ff3e90eb06c2fc7e42a authored over 10 years ago by Bryan Donovan <[email protected]>
c6c4706af45175d87f8e6348c446773d3b6b16fb authored over 10 years ago by Bryan Donovan <[email protected]>
21b9fc1e3dbfc4c6073b8207ae88a5b5aef16d8b authored over 10 years ago by Bryan Donovan <[email protected]>
8fed3b301970687af30e47eea64dc743f51dd838 authored over 10 years ago by Bryan Donovan <[email protected]>
f1c8ec37d2093074a6fe25ae083fb1d3dc07838a authored over 10 years ago by Bryan Donovan <[email protected]>
fix fakeServer.respond() in IE8 by properly allowing queue to be spliced
0c3a05f51cb7ecd4e1ecbd61c35904e8a6fd3d2c authored over 10 years ago by Christian Johansen <[email protected]>Remove extra `module.exports.assert`
b2917ff6755933623c6045325d34ad9942c0f7fc authored over 10 years ago by Christian Johansen <[email protected]>`module.exports.assert` is already assigned at line 352. Remove the extra line of setting it again.
87d12fb7c3307f7da4e5c709e43c13b3dd1c3c23 authored over 10 years ago by Garrick Cheung <[email protected]>update 'returns numeric id' tests for setTimeout, setImmediate and setInterval
9b30a9e49f77fc8efdaa9c016374ff7844b06942 authored over 10 years ago by Maximilian Antoni <[email protected]>e0f62224d571e96e6e47d978e3f5ba2b55a362a5 authored over 10 years ago by ben fleis <[email protected]>
Fix clearTimeout() for Node.js mode
8ab8a2ab45923a5299107c74c4df46d4db1f64af authored over 10 years ago by Maximilian Antoni <[email protected]>335b48c795d6d21a7d1a442af7837ec2e1ff7c36 authored over 10 years ago by Xiao Ma <[email protected]>
60ab124d21f4181785ecb7f3edb2dd1e10bbd6b1 authored over 10 years ago by John Bernardo <[email protected]>
Fixes #448
f42e9c8bda76d841e9d6d6969b4cdefa465462b2 authored over 10 years ago by Christian Johansen <[email protected]>Fix wrapMethod error handling
1a3e42666c7d491fa3910cd8fc1fd55e82f3c1ab authored over 10 years ago by Christian Johansen <[email protected]>
sinon.wrapMethod was actually failing with this error when the property
wasn't defined:
"Cannot ...
3d7685052b30520aafc5109fee65db1053fd62be authored over 10 years ago by Christian Johansen <[email protected]>
c21099b0fd35d191aa6236e084e82d724eaa651c authored over 10 years ago by Christian Johansen <[email protected]>
fake timer creation returns an object having .ref() and .unref() calls
4fdd894a6500a14f06accd02a11782d3fbde877b authored over 10 years ago by Maximilian Antoni <[email protected]>1f122e6e120eff643e3dfda6915113c39302bb03 authored over 10 years ago by ben fleis <[email protected]>
Travis seems to have an older npm version installed and does not know
about ^ yet. Changed the d...
755cfcc1fac62d76465af836ee6fdd067e9d7de0 authored over 10 years ago by Blake Israel <[email protected]>
setTimeout, and checking its type. this should give mock returns consistent
with the underlying ...
nodejs timer functionality can be supported
cf2518e067bff8ffafc9bf0a6fe25e15936e0775 authored over 10 years ago by ben fleis <[email protected]>Explicate dependency on util package
a525ee6dc40dc43f9fd110912b153a0820449e5b authored over 10 years ago by Christian Johansen <[email protected]>
[Mr][] and [Mop][] serve a similar function to [Browserify][] but
supports refresh-to-reload dur...
e27c47ed8c13c304d3459e6d741f07d2323de0b5 authored over 10 years ago by Christian Johansen <[email protected]>
Added tests for new fake events ProgressEvent and CustomEvents in event.js
08e630fcfe1a81352a934268906eae7544873f03 authored over 10 years ago by Christian Johansen <[email protected]>d3d7b1032a243092be55913c58647f370f79bfdc authored over 10 years ago by gtothesquare <[email protected]>
Added extra test to see if ProgressEvent is a function and not Object. T...
3b4521eb8db09ce4c6328bf7372594527548cccf authored over 10 years ago by Christian Johansen <[email protected]>09a8c1d2d4cc2af700c7cef5edc126f1d575400b authored over 10 years ago by gtothesquare <[email protected]>
Prevent setRequestHeaders from being called twice (like setRequestBody)
58097ccf4fb378ed659a5cd299576fcf922ec0d2 authored over 10 years ago by Christian Johansen <[email protected]>d5f830605f3dc086430db2a630522d9cc776c6d0 authored over 10 years ago by Phred <[email protected]>
Add sinon.assert.match
7ac894ae884f3daba45464e0792d16980e506991 authored over 10 years ago by Christian Johansen <[email protected]>Fix onload call, 'this' should be equal to XHR object
3b05f6491cc9b4fcbfd52a4aef2777e69496ff0e authored over 10 years ago by Christian Johansen <[email protected]>Avoids IE11 bug, where ProgressEvent is not callable with new. Fixes #409
07787d4156352a8f16125cc3ba740372a2ad8caa authored over 10 years ago by Christian Johansen <[email protected]>Avoids IE/host object problems while maintaining browser support semantics.
c28f47f917984167c88e24b04f6aa400654cf749 authored over 10 years ago by Christian Johansen <[email protected]>Remove sandbox injected values on restore
a98003395c082be6124388b0c98675b40c2e9909 authored over 10 years ago by Christian Johansen <[email protected]>4fa26245d861f1860e5b41d52d7f29734424f01a authored over 10 years ago by Niklas Andreasson <[email protected]>
28b0f3a5c8b3dd3c389181b8342bde88885389c4 authored over 10 years ago by Robin Pedersen <[email protected]>
Coerce matcher.or/and arguments into matchers
44b707d0e23e80866036999d380b9fdea2f3f2d3 authored over 10 years ago by Maximilian Antoni <[email protected]>0a40fe61af502a5e0f07d344137b137fbb1766c8 authored over 10 years ago by Glen Mailer <[email protected]>
92c6b989481ffee3090e6d5e1f8b3d92c2ebc1a1 authored over 10 years ago by Marcus Hüsgen <[email protected]>
e1bcec82071fffe06678978e3715f48247d002d6 authored over 10 years ago by Marcus Hüsgen <[email protected]>
56c41ed79398fb0544ea57b1cdb9d79b0cc60668 authored over 10 years ago by Robin Pedersen <[email protected]>
Makes it possible to use the Sinon matcher API on arbitrary data,
without a spy having been called.
ca32555db09e4d2e24a0280c3fa29a972212415a authored over 10 years ago by Christian Johansen <[email protected]>