Commit Graph
18 Commits
Author SHA1 Message Date
Matt York d5b8b95a2d Add onCall(n) and friends to SinonStub definition
These were added in Sinon 1.8, and the definition claims to be Sinon
1.8.1

From documentation:
"As of Sinon version 1.8, you can use the onCall method to make a stub
respond differently on consecutive calls."

http://sinonjs.org/docs/
2014-06-20 18:35:42 -07:00
Bart van der Schoor 1d345f6c14 cleaned-up headers 2014-06-18 23:31:11 +02:00
Luís Rudge 177897f1c5 added missing object to sinon
requests: SinonFakeXMLHttpRequest[];
2014-02-26 10:41:42 -03:00
SomaticIT 80cbd12aae Update SinonJS Definitions to 1.8.1 2014-02-05 20:32:04 +01:00
Sobieck00 78a57d6e37 Update sinon.d.ts
I updated sinon to export for RequireJs with a declare statement at the bottom of the document.
2014-01-11 07:37:32 -06:00
Alex Varju 0babed6558 make sinon signatures --noImplicitAny friendly 2013-09-20 15:19:13 -07:00
Alex Varju 3369d546a1 sinon expectations extend the stub class 2013-09-18 09:58:08 -07:00
Alex Varju 2b69839469 improve signatures for sinon sandbox methods 2013-09-18 09:58:08 -07:00
Alex Varju 204ec28733 rename sinon definitions now that newer versions are supported 2013-09-18 09:58:08 -07:00
marioK 81d419bacf Fixed withArgs return type on SinonStub and SinonSpy 2013-09-05 13:12:43 -07:00
Boris Yankov dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00
Neil Stalker 7b441a8d21 fix i18next, jsFixtures, sinon and expect for TS 0.9
move and rename i18next test file
2013-06-21 15:47:23 +01:00
Fyodor Soikin 2fc878b482 Typo: no param name for "xhr" param in respondWith on fakeServer 2013-04-21 18:18:25 -04:00
JesperSchultz 893f366fdc fix for combined matchers in sinon 2013-04-18 18:42:10 +02:00
Richard Towers 426b27e929 mock expects should return an Expectation, rather than a ExpectationStatic.
http://sinonjs.org/docs/#mocks
2013-03-25 15:05:08 +00:00
William Sears 104f81e5e4 Add defs for new and missed APIs
Add defs for new APIs callArgOn, callArgOnWith, yieldOn and yieldToOn.
Add def to make SinonSpy/SinonStub callable.
Add def for missed API SinonStub.resetBehavior
2013-02-05 13:18:13 -08:00
William Sears 60e2bdc916 Restructure to existing standards and update to more closely reflect the
actual implementation of the JavaScript library.
2013-01-30 13:59:31 -08:00
William Sears 4fe137ae7d Definitions and unit tests for sinon.js 2013-01-25 11:31:28 -08:00