Commit Graph
66 Commits
Author SHA1 Message Date
Dominik Moritz bcf1cc3883 Add includeDeepMembers
https://github.com/chaijs/chai/pull/589
2017-02-17 07:45:56 -08:00
Andy ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy 2f71174636 Restructure to support old versions (#13811)
* Restructure to support old versions

* Fix tests
2017-01-06 12:36:57 -08:00
Andy a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Guilherme Oenning 6956b1e9af Add eq + equals to Deep assertion
I'm adding this based on https://github.com/chaijs/chai/blob/master/lib/chai/core/assertions.js#L560-L563
2016-09-26 18:38:33 -03:00
Ryan Cavanaugh b9245fba39 Merge commit 'upstream/master~350' into merge_7_25 2016-07-26 17:24:39 -07:00
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
Chris Clayman 318273cdee Add .isAtMost() .isAtLeast() to chai.assert defin.
Missing two definitions in chai library. Added here.
2016-06-21 18:17:09 -07:00
Ryan McNamara 7273c57f5b Added properties to chai config block.
See http://chaijs.com/guide/styles/ for more information
2016-06-01 14:18:34 -07:00
Ryan Cavanaugh 612c172c52 Use correct test list 2016-05-10 12:28:03 -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 81862d240d More fixes 2016-05-04 22:50:05 -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
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
Leo Liang 1914a00b3c chai: enable chain style calling to use() 2016-02-16 15:14:02 +08:00
vvakame 4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Matt Wistrand 4b4c41fbb4 Add test file for chai-3.2.0.d.ts. 2015-12-18 17:33:35 -06:00
Matt Wistrand 9c25433c84 Update Chai typings to v3.4.0.
v3.3.0 introduces the following methods:
* isNotTrue
* isNotFalse
* isAtLeast
* isAtMost

v3.4.0 introduces:
* oneOf assertion.
* approximately alias for closeTo.
2015-12-18 16:00:21 -06:00
Colin Snover 93a277a4d4 [chai] Correct type of AssertionError
AssertionError on the global chai object is the constructor for AssertionErrors, but the definition was written as though it was an instance of an assertion error.
2015-12-08 03:26:05 -06:00
Fredrik Høisæther Rasch 91989d35b8 Merge remote-tracking branch 'upstream/master' into master 2015-10-08 09:56:22 +02:00
Olivier CHEVET ed0f1cce4f Upgraded to chai 3.2.0 (latest) 2015-09-03 06:24:28 +02:00
Daniel Rosenwasser 8d58b9e4c7 arguments -> argumentsTest for strict mode-implied modules. 2015-07-30 12:57:02 -07:00
Andy Brown a358c640e7 #4372 - add should support for fluent & should extras 2015-05-20 01:21:44 +01:00
Jed Mao 1a52576856 Fix chai libraries, plugins 2015-04-28 16:21:00 -05:00
Jacob Danton f31589998d Updating Chai to have "Include" in "Deep"
Reference:  https://github.com/chaijs/chai/blob/master/lib/chai/core/assertions.js#L1452
2015-04-26 08:53:30 -07:00
Wim 57c7b20c6b Add which chainable keyword.
See https://github.com/chaijs/chai/releases/tag/v2.0.0 and chaijs/chai#347.
2015-03-16 10:22:46 +13:00
Paulo Cesar fc04ecec64 export expect 2014-12-08 21:20:21 -02:00
Thomas Dall'Agnese 266b7f00b7 Add "has" in the LanguageChains
"has" is the same as "have" but makes the sentences more "natural".
Added it in the LanguageChains to make WebStorm recognise it.
2014-10-25 13:14:36 +09:00
Mohamed Hegazy 2aaa293cb1 Remove quotes from response files 2014-09-02 14:53:39 -07:00
Bart van der Schoor d1f9d3fef5 fixed chai test 2014-07-19 05:35:05 +02:00
Bart van der Schoor dfab9f569d moved chai-assert into main chai definition
renamed chai-fuzzy-assert to chai-fuzzy
2014-07-19 05:33:05 +02:00
Mariusz Kierski 66799b4429 Fixed chai bindings so that now they work with CommonJS; added tests 2014-07-04 15:08:04 +02:00
Bart van der Schoor 1d345f6c14 cleaned-up headers 2014-06-18 23:31:11 +02:00
vvakame e9be9177f6 remove not required .tscparams 2014-06-12 18:36:47 +09:00
Bart van der Schoor adb3a29aa8 updated chai-assert.d.ts
fixed chai test
2014-05-26 14:29:32 +02:00
vvakame a23785ab1b remove not required .tscparams 2014-05-11 11:22:03 +09:00
Jared Reynolds cc3aeaae75 Added definitions for chai-datetime
- Added explicit "any" types to chai definitions
2014-04-29 14:05:14 -07:00
Bartvds 1c1a37c1e4 removed utf-8 BOM marker
for consistency
2014-01-24 18:51:21 +01:00
Kent Skinner 8166bc0ae3 Add optional 'message' parameter to chai.expect.
As noted at http://chaijs.com/guide/styles/#expect:

    "Expect also allows you to include arbitrary messages
     to prepend to any failed assertions that might occur."
2014-01-20 11:03:34 -08:00
Jeffery Grajkowski 798dbfbf8f Converting ungeneric "Array" to "any[]"
TypeScript 0.9.5 beta does not allow generic type references without the type argument.  This code will still compile for 0.9.1 users.  Flight and Ember have further compile problems in 0.9.5 that I don't feel qualified to address as I'm not versed in those libraries.
2013-11-26 10:29:46 -08:00
Jacob Boland e43a0edd92 Add comment to describe new use function definition 2013-10-23 09:48:43 -07:00