Commit Graph
64 Commits
Author SHA1 Message Date
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
Theodore Brown 1641546e82 Tweaked tests to fully pass 2013-12-25 11:50:58 -06:00
Theodore Brown 9a22a5907f Updated tests from http://jasmine.github.io/2.0/introduction.html 2013-12-25 11:50:23 -06:00
Theodore Brown 949e231c31 Updated definition file to support Jasmine v2.0 2013-12-25 11:49:29 -06:00
Theodore Brown b748d83bb8 Copied v1.3 definitions and tests to separate versioned files 2013-12-25 11:33:33 -06:00
Mohamed Mansour 9e9042b5c9 Fix bug where waitsFor has an optional failureMessage
It should be defined as optional for failureMessage according to the specifications.
2013-12-06 20:04:46 -08:00
danrspencer 9b980143a8 Prototype for createSpyObj to allow for typed spies
Added an overload to the prototype for createSpyObj to allow it to return a strongly typed spy object via use of generics
2013-10-28 15:58:45 +00:00
vvakame e77a73d69e Added noImplicitAny option support to jasmine 2013-09-26 15:38:19 +09:00
Fitzchak Yitzchaki bfa6d45214 Add missing semicolon
Code edited:

interface SpecFunction {
    (spec?: Spec): void;
}
2013-09-15 09:35:01 +02:00
gstamac 299ee16372 Jasmine: replaced a lot of "any" with correct types 2013-08-23 08:40:16 +02:00
gstamac 7862cd8e01 Jasmine: fixed createSpy optional function parameter 2013-08-21 15:23:00 +02:00
gstamac 198804cbfe Jasmine: added currentSpec to Env 2013-08-20 11:51:18 +02:00
gstamac 56a4a19e61 Jasmine: added jasmine.objectContaining 2013-08-19 16:29:38 +02:00
gstamac a65518d9eb Jasmine: removed constructor definition in Reporter interface 2013-08-19 11:04:10 +02:00