Connor Wyatt
6f5c53028a
Modified call signature of Sinon's calledWithNew method to no longer take a parameter ( #9343 )
2016-05-16 23:47:23 -07:00
vvakame
7de6c3dd94
Merge branch 'master' into rename-repo-url
2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4
replace internal module to namespace
2016-03-17 02:18:10 +09:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
Tim Kindberg
6e7d83167d
Add returnsThis method to SinonStub
2015-10-27 10:34:16 -04:00
Roger Chen
9bf545421a
Add respondImmediately property to SinonFakeServer
2015-10-02 15:07:30 -07:00
Rogier Schouten
e92bf37538
Update Sinon typings for Sinon 1.16.0
...
Add setSystemTime() method
2015-08-20 10:56:30 +02:00
Radosław Eichler
639337b32b
fixed *withMatch methods incorrectly requiring SinonMatcher type arguments
2015-05-18 14:57:14 +02:00
Jed Mao
1a52576856
Fix chai libraries, plugins
2015-04-28 16:21:00 -05:00
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