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
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
Jacob Boland
dd19153965
Add 'use' to chai and include a test
2013-10-23 09:47:04 -07:00
vvakame
2708bc05cd
Fixed tsc failed on Node.js v0.8.25
2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e
Fixed to CI test passing
2013-10-03 10:18:58 +09:00
Derek Cicerone
19c3427645
Fix noImplicitAny errors in chai-assert.d.ts
...
* assuming void for all return types
2013-09-28 17:34:48 -04:00
Theodore Brown
1cbc49538e
Fix chai-jquery tests
2013-08-25 19:57:49 -05:00
Jed Hunsaker
e79b35ad8b
Fix sinon-chai to match recent chai updates
2013-08-24 17:39:01 -07:00
Jed Hunsaker
6a7faf3bcd
Redo/fix entire chai.expect defs/tests
2013-08-24 11:18:44 -07:00
jraymakers
39a82d6c5f
chai bool -> boolean
2013-08-06 23:50:51 -07:00
Bartvds
03efcb45aa
updated chai tdd, added chai-fuzzy tdd
2013-06-25 21:06:56 +02:00
Neil Stalker
18628d1490
fix chai, chai-jquery and sinon-chai for TS 0.9
2013-06-21 16:03:05 +01:00
basarat
d1eef15f0d
No longer polluting global namespace with too many interfaces
2013-06-20 21:18:20 +10:00
Basarat Syed
a75e524aeb
chai working with TS0.9
2013-06-20 16:43:50 +10:00
Basarat Syed
694b1d528f
Fixed for TS0.9 :
...
angular-resource: declare required
chai-assert: 'declare' modifier not allowed for code already in an ambient context.
chai: Trailing comma not allowed
2013-06-19 18:08:15 +10:00
Bartvds
084a51a992
Added definitions for chai's assert-style assertions
2013-05-21 18:16:14 +02:00
Kazi Manzur Rashid
5362cb55c3
Included Test for Chai and renamed files to follow the project convention.
2013-04-30 12:56:41 +06:00
Kazi Manzur Rashid
080b90d517
Included Chai Expect.
2013-04-06 01:43:50 +06:00