Commit Graph

88 Commits

Author SHA1 Message Date
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
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
33686b47c5 Lots of fixes 2016-05-04 16:30:29 -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
Ryan Cavanaugh
44571a9537 Tweaks to Jasmine 2016-04-22 16:10:50 -07:00
mmmichl
5c182b9af7 Introduce done function declaration with fail method (#8891) 2016-04-12 22:44:38 +09: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
Klaus Reimer
3379a63609 Correct signature of toThrowError
Jasmine expects an Error TYPE not an Error VALUE as first parameter.
2016-03-08 09:26:59 +01:00
Denis Postu
d594ef506d Added missing 'returnValue' to jasmine.CallInfo 2016-03-03 23:50:35 +01:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Horiuchi_H
bc92442c07 change CRLF to LF 2016-02-08 12:01:16 +09:00
Tom Peres
777e7d1b1d updated SpyAnd return values 2016-01-31 20:40:15 +02:00
Felipe Andrade
26c98c8a95 added toHaveBeenCalledTimes 2016-01-06 11:28:40 -05:00
Tanguy Krotoff
d2dd0dbfc7 Improve jasmine.d.ts
- Remove toContainHtml() and toContainText(): they are not part of Jasmine API
- Avoid the use of any for toMatch(), toBeLessThan(), toBeGreaterThan(), toBeCloseTo() and toThrowError()
2015-12-18 05:09:35 +01:00
Alex Eagle
56c85ef59b Fix jasmine: message is optional in CustomMatcherResult.
See http://jasmine.github.io/2.2/custom_matcher.html#section-Failure_Messages
2015-11-10 10:37:37 -08:00
Roman Fromrome
ff104ed7cc optional expectationFailOutput parameter added to matchers
optional expectationFailOutput parameter added to matchers for ability
to track expectation fail reason in output message
2015-09-08 16:29:45 -07:00
David Pärsson
bcf0b2807b Add test for Jasmine's jasmine.clock().mockDate(baseTime) 2015-08-05 09:47:32 +02:00
Joe Skeen
d82912b209 Added additional type information to the calls object for Jasmine Spies 2015-07-22 09:41:13 -06:00
Dmitry A. Efimenko
e2332f6e50 Updated interface for Clock with mockDate() fn 2015-07-17 11:28:40 -07:00
Jaime Giraldo
dd6c0bef0e Complemented second optional param on toThrowError 2015-07-10 12:00:55 -05:00
robertjmason
d9b1c4d96c Added "any" type to foo
Apparently the "noImplicitAny" switch is set in Travis.
2015-06-30 15:25:16 -07:00
robertjmason
7b129ea9d4 Added arrayContaining test 2015-06-30 13:09:48 -07:00
robertjmason
09469cae6f Added arrayContaining()/ArrayContaining definitions 2015-06-30 13:00:53 -07:00
joswhite
793f52d261 Add jasmine.stringMatching() function
See http://jasmine.github.io/2.3/introduction.html
2015-06-16 13:52:13 -06:00
joswhite
8a42c1d474 Update jasmine.d.ts
Add Jasmine's .anything() matcher
2015-06-09 16:08:25 -06:00
CallMeTango
2017b81457 Support custom equality testers and custom matchers improvements
- Added support for custom equality testers. Fixed existing function
  signature and added interfaces
- Improved typings for custom matchers to be more strict and modeled the
  construction process via corresponding interfaces
- Added tests for the custom equality testers and custom matchers
2015-04-30 17:10:21 +02:00
a3chic9
1142e2b664 Update Jasmine version to 2.2 2015-04-14 10:52:32 -04:00
a3chic9
efffa6ec97 Added pending tests 2015-04-14 10:39:16 -04:00
a3chic9
19a23c4d38 Update jasmine pending() definition
Added option string parameter
2015-04-14 10:27:31 -04:00
Jake Aitchison
09e19b7749 Add support for jasmine 2.2 Asynch timeout syntax 2015-03-22 13:23:49 +00:00
AbdulFattah Popoola
160c1b1533 Removal of obsolete parameter in Spy Interface
The callCount parameter does not exist in Jasmine versions > 2.0 but did exist in 1.3
2015-03-19 08:51:06 -07:00
vvakame
345859505a update jasmine project url 2015-02-05 00:51:04 +09:00
David Pärsson
675a63e403 Added global fail() function to Jasmine typings 2015-02-04 11:28:29 +01:00
David Pärsson
afca0689f7 Add support for chaining and calls on Jasmine spies 2015-02-03 15:24:11 +01:00
GlennQuirynen
fc233c766b Update jasmine.d.ts
Adding beforeAll() and afterAll(), as described with the new version

https://github.com/jasmine/jasmine/blob/master/release_notes/2.1.0.md
2015-01-26 15:43:55 +01:00
Wayne Maurer
43e0a7923e Update jasmine.d.ts
Focused specs have been in jasmine-core since version 2.1
2014-12-31 22:38:38 +01:00
cherrydev
9b15f26653 Removed (very) obsolete toNot* wasNot* matchers 2014-11-17 14:37:56 -08:00
Drew Noakes
c1be07edcf [minor] Fix typo in URL 2014-09-02 10:57:42 +01:00
jandersonBB
e7e263cae1 Update jasmine.d.ts
https://groups.google.com/forum/#!topic/jasmine-js/LwlC-yCksY4
2014-08-13 14:16:13 -07:00
Tobias Bengfort
3c4d380a0f add example to jasmine-tests.ts 2014-07-19 11:48:42 +02:00
Tobias Bengfort
e827d60b1a jasmine: add missing variable DEFAULT_TIMEOUT_INTERVAL 2014-07-19 11:44:50 +02:00