Commit Graph

77 Commits

Author SHA1 Message Date
Thanabodee Charoenpiriyakij
36a1be34db Add returnValues() function to SpyAnd interface (#9175) 2016-05-06 01:14:46 +09: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
Basarat Ali Syed
0d74fcc01a Update jasmine.d.ts
`dddescribe`/`iit` are not a part of jasmine standard lib.
2014-07-01 23:20:36 +10:00
Basarat Ali Syed
56911d3cee Update jasmine-1.3.d.ts 2014-07-01 23:07:36 +10:00
Alex Puchkov
946fb0d7e1 Add missing ddescribe and iit definitions 2014-06-26 10:37:31 -04:00
Bart van der Schoor
1d345f6c14 cleaned-up headers 2014-06-18 23:31:11 +02:00
John Reilly
c0b6d1dbc9 Moved Jasmine 1.3 into legacy folder so excluded from NuGet package 2014-06-05 09:18:15 +01:00
Antonio Laguna
4bb54542fe Adding calls interface to Jasmine 2014-04-16 14:52:40 +01:00
Artur Soler
73747f076c calls is an object (it should probably be defined), not an array. 2014-03-14 18:44:29 +01:00
Artur Soler
814f95190a callFake can receive a function that takes parameters. 2014-03-14 18:43:04 +01:00
Artur Soler
c2b80d5ccb Add ddescribe and iit function definitions. 2014-03-14 18:41:59 +01:00
Bartvds
1c1a37c1e4 removed utf-8 BOM marker
for consistency
2014-01-24 18:51:21 +01:00
Bartvds
333b89f8d3 added/fixed headers j
https://github.com/borisyankov/DefinitelyTyped/issues/1570

jsfl: fixed odd encoding in comments
2014-01-24 00:55:00 +01:00