Commit Graph

43 Commits

Author SHA1 Message Date
Andy Hanson
89d6358b54 Merge remote-tracking branch 'origin/master' into merge_24sep
Conflicts:
	angular-material/angular-material.d.ts
	bookshelf/bookshelf.d.ts
	react-widgets/react-widgets.d.ts
	vinyl/vinyl.d.ts
2016-09-24 16:40:57 -07:00
Umed Khudoiberdiev
4bb4c29cad fixes #11351 (#11453) 2016-09-24 21:03:26 +09:00
Andy Hanson
28ef3d201b Remove <reference path="../xxx/xxx.d.ts"> from definitions files and replace it with import * as Xxx from "xxx" or <reference types="xxx"/> 2016-09-16 08:59:57 -07:00
Ryan Cavanaugh
5e9440c8ad Merge commit 'upstream/master~700' into merge_7_25
# Conflicts:
#	angular-ui-router/angular-ui-router.d.ts
#	bookshelf/bookshelf-tests.ts
#	bookshelf/bookshelf.d.ts
#	enzyme/enzyme-tests.tsx
#	enzyme/enzyme.d.ts
#	escodegen/escodegen-tests.ts
#	helmet/helmet.d.ts
#	joi/joi.d.ts
#	knex/knex-tests.ts
#	moment/index.d.ts
#	mongoose/index.d.ts
#	pg/pg.d.ts
#	react-select/react-select-tests.tsx
#	soap/index.d.ts
#	ssh2/ssh2.d.ts
#	turf/turf-tests.ts
#	underscore.string/underscore.string.d.ts
2016-07-25 16:10:34 -07:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Raghav Katyal
89cb02de7d Fixing test failures 2016-06-27 17:40:37 -07:00
Raghav Katyal
c17b1b78b8 OldUMD and many other module fixes. 2016-06-20 14:15:13 -07:00
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
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -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