Commit Graph
11 Commits
Author SHA1 Message Date
Dale Caffull 417f0c2de9 Adding toHaveBeenCalledBefore matcher to jasmine 2017-09-14 14:02:05 +01:00
AndyandGitHub 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Jakub VránaandAlex Eagle 8ec8fc20f5 [jasmine] Allow CustomEqualityTester to return undefined (#17390)
* Allow CustomEqualityTester to return undefined

As explained at https://jasmine.github.io/2.6/custom_equality.html, returning undefined means that this tester couldn't compare the values.

* [jasmine] Fix return type of CustomEqualityTester test

* [jasmine] Fix return type of CustomEqualityTester test
2017-06-23 08:17:43 -07:00
Geert JansenandGitHub df7deabe23 Merge branch 'master' into patch-1 2017-06-06 11:57:12 +02:00
David GardinerandAndy f34617c7e6 Jasmine (#16793)
- Add declare module (from @mhegazy https://github.com/DefinitelyTyped/DefinitelyTyped/issues/7793#issuecomment-270795816)
- Also add some jsdocs for common methods

Resolves #7793
2017-06-02 08:38:53 -07:00
Lukas ZechandAndy cad0e31021 Add Expected<T> to ArrayLikeMatchers.toContain (#16408)
* Add Expected<T> to ArrayLikeMatchers.toContain

* Add function signature to jasmine.Any
2017-06-02 06:17:00 -07:00
Gabe MoothartandAndy 7ea2468545 Add SpyObj<T> typing for createSpyObj. (#16321)
* Add SpyObj<T> typing for createSpyObj.

Adding a mapped type SpyObj<T>, and make it the return value of
createSpyObj.

* simplify type
2017-06-01 08:08:18 -07:00
Jure SkelinandMohamed Hegazy 470a4e1eaa implement declarations from jasmine.createSpyObj (#16838) (#16843) 2017-05-31 21:58:25 -07:00
Geert JansenandGitHub 5332c59958 update methodNames parameter type on createSpyObj
Adds missing Object type to the methodNames parameter on the jasmine.createSpyObj method.
2017-05-29 09:04:45 +02:00
Steven Masala dd092f37e2 Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped 2017-03-24 23:23:57 +01:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00