Commit Graph

29 Commits

Author SHA1 Message Date
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
Ben Jackman
34a3c8fc0f Jasmine: Added any types to avoid errors --noImplicitAny
Signed-off-by: Ben Jackman <ben@jackman.biz>
2013-08-17 00:00:20 -05:00
Artem Chivchalov
7b712b592b jasmine: fixed createSpy definition
Added `originalFn` parameter according to https://github.com/pivotal/jasmine/blob/master/src/core/base.js#L52
2013-08-11 00:09:32 +04:00
John Reilly
c848fbb3fa Fix for TS 0.9.1
Removed extra overload of ensureSelectElementIsRenderedCorrectly to
prevent this compiler error with TS 0.9.1: "error TS2175: Overloads
cannot differ only by return type.".  Also amended jasmine switching
bool to boolean so tests pass.
2013-08-07 11:00:22 +01:00
damianog
21f6baaef8 Removed unnecessary comma
Found error compilation in typescript 0.9 beta
Removed unnecessary comma
2013-06-14 20:08:21 +03:00
bquarmby
b49671022e Update jasmine.d.ts
Made jasmine.Spy callable.
Added missing "pp" method and internal Matcher properties. Both important for rolling custom matchers.
2013-04-29 20:37:32 +10:00
Fyodor Soikin
30f0df4b0f Added missing return types to Spy methods 2013-04-22 17:57:46 -04:00
Fyodor Soikin
b87f73abe9 Revert "Added missing return types for Spy chaining methods and for the createSpy method"
This reverts commit 91a966943b.
2013-04-22 17:51:42 -04:00
Fyodor Soikin
91a966943b Added missing return types for Spy chaining methods and for the createSpy method 2013-04-22 01:14:48 -04:00
Andrew Gaspar
105af2df70 Slight change to makeNodeResolver in q.d.ts and added a second declaration for it in jasmine to accomodate 'done' function for async funciton calls. 2013-03-23 16:30:49 -05:00
Diullei Gomes
946862740a adjusted jasmine tests 2013-02-22 12:19:05 -03:00
Boris Yankov
209d95071a Update reference paths 2013-01-17 20:03:30 +02:00
Boris Yankov
c98eebb137 Rename all definition files, remove versions 2013-01-17 17:17:27 +02:00
Boris Yankov
7c82efb17a Update reference paths 2012-11-19 01:28:08 +02:00
Boris Yankov
c91c45f9ae Move definitions and test in separate folders
This enables each definition to have a readme if necessary.
Also a .json metadata file to help with package managers.
And last, to have different versions of the definitions.
2012-11-18 22:28:44 +02:00