Commit graph

877 commits

Author SHA1 Message Date
Keith Cirkel
83a9e56d2a Merge pull request #395 from cjqed/386-assert-operator-no-eval
No longer using eval on assert operator #386
2015-03-08 22:56:12 +00:00
root
da2ec4a1d4 No longer using eval on assert operator #386 2015-03-08 13:18:49 -04:00
Keith Cirkel
4b33fe3d0b Merge pull request #389 from chaijs/update-git-summary
Update `git summary` in README
2015-03-04 21:21:23 +00:00
Keith Cirkel
b20a9421b1 Update git summary in README 2015-03-04 21:20:35 +00:00
Keith Cirkel
d7cafca023 Merge pull request #388 from chaijs/release-2.1.1
Release v2.1.1
2015-03-04 20:26:26 +00:00
Keith Cirkel
afd689acb3 Release v2.1.1 2015-03-04 20:19:52 +00:00
Keith Cirkel
dbeb2a8609 Merge pull request #385 from eldritch-fossicker/master
fix indexing into array with deep propery
2015-03-03 20:36:43 +00:00
eldritch fossicker
bb8d0bf7a4 updates to reflect code style preference from @keithamus 2015-03-03 14:28:44 -06:00
eldritch fossicker
57ef36621f fix indexing into array with deep propery
* added unit test to expect with code from documentation
* added default to res in _getPathValue
2015-03-02 14:00:46 -06:00
Keith Cirkel
062d731762 Merge pull request #382 from astorije/patch-2
Add missing docstring for showDiff argument of assert
2015-03-01 11:03:33 +00:00
Keith Cirkel
1ce171f3ef Merge pull request #383 from gurdiga/config-doc-wording-improvement
config.truncateThreshold docs: simpler wording
2015-03-01 11:01:52 +00:00
Vlad GURDIGA
be8d7a69ba config.truncateThreshold docs: simpler wording 2015-03-01 12:53:44 +02:00
Jérémie Astori
592be870e8 Add missing docstring for showDiff argument of assert 2015-02-28 18:02:38 -05:00
Keith Cirkel
a97680f6be Merge pull request #381 from astorije/patch-1
Add a minor precision that empty asserts on strings too.
2015-02-28 21:26:08 +00:00
Jérémie Astori
d080d1a6a4 Add a minor precision that empty asserts on strings too. 2015-02-28 00:50:35 -05:00
Keith Cirkel
2cad0dcbba Merge pull request #379 from dcneiner/should-primitive-fix
Getter for Should syntax now uses valueOf for primitives
2015-02-24 22:27:20 +00:00
Doug Neiner
ef04544328 Primitives now use valueOf in shouldGetter
This allows the should syntax to be more resilient when
dealing with modified primitive constructors which
may occur more frequently with ES6 to ES5 transpilation.
2015-02-24 12:09:14 -06:00
Keith Cirkel
09e17b9e09 Merge pull request #375 from chaijs/release-2.1.0
Release v2.1.0
2015-02-23 21:41:15 +00:00
Keith Cirkel
ee5d666059 Release v2.1.0 2015-02-23 21:05:04 +00:00
Keith Cirkel
45f9e6aad1 Merge pull request #374 from jmm/v2.0.1
Increment version to 2.0.1.
2015-02-23 20:48:38 +00:00
Jesse McCarthy
a8ffb9c152 Increment version to 2.0.1.
See https://github.com/chaijs/chai/issues/373
2015-02-23 11:19:51 -05:00
Jake Luer
74ca9202ee Merge pull request #365 from chaijs/fix-travis
Fix travis.yml deploy
2015-02-11 15:26:36 -05:00
Keith Cirkel
a33e614e9a Fix travis.yml deploy 2015-02-11 19:47:55 +00:00
Keith Cirkel
2147e1d49e 2.0.0 2015-02-11 16:21:51 +00:00
Keith Cirkel
9c10c9f03e Merge pull request #364 from chaijs/v2.0.0
v2.0.0
2015-02-11 15:58:05 +00:00
Keith Cirkel
9b25d0c524 Merge pull request #356 from Soviut/master
Added fail() method to Should and Expect interfaces
2015-02-10 23:41:58 +00:00
Ian Zamojc
ffd7c190e4 documented fail methods for expect and should interfaces 2015-02-10 18:39:39 -05:00
Ian Zamojc
c2f9e430d9 fail method added directly to expect 2015-02-10 16:50:31 -05:00
Keith Cirkel
84ed233a6d v2.0.0 2015-02-09 20:33:41 +00:00
Keith Cirkel
5753ecbb5b Merge pull request #361 from gregglind/b265-keys-object
Fix #265
2015-02-09 18:37:37 +00:00
Gregg Lind
4f40b37356 fix #359. Add `.keys(object)
- `.keys(object)n => .keys(Object.keys(Object)`
- added exceptions for 'if first arg is non-string, then it must be only
arg.  => `.keys(Array|Object, ...)`

Warning:  `Object.keys` must exist on systems to use this functionality.
2015-02-09 09:16:01 -06:00
Keith Cirkel
bd722801a8 Merge pull request #359 from gregglind/b359-unexpected-keys-sort
Arrays passed to `.keys()` assertions are sorted (unexpectedly) by side-effect
2015-02-06 10:15:01 +00:00
Gregg Lind
68f3c02f07 Fix #359 keys() sorts input unexpectedly 2015-02-05 19:36:09 -06:00
Jake Luer
dfd73fffc8 contrib: publish release strategy and travis npm creds #337 2015-02-02 20:53:11 -05:00
Keith Cirkel
3a753199a2 Merge pull request #357 from danilovaz/master
Update copyright date
2015-02-01 11:15:04 +00:00
Danilo Vaz
fe83f2b4cf Update copyright date 2015-02-01 01:33:52 -02:00
Ian Zamojc
61d8718c69 added fail() method to expect interface 2015-01-30 16:00:47 -05:00
Ian Zamojc
9080562c9a using proper error checking method for should 2015-01-30 16:00:47 -05:00
Ian Zamojc
41b158720b changed default message for should.fail() 2015-01-30 16:00:47 -05:00
Ian Zamojc
d353bf7bc5 added should.fail() method 2015-01-30 16:00:46 -05:00
Keith Cirkel
0ce930b8f4 Merge pull request #349 from toastynerd/add-which-chain-method
add the which chain method as per issue #347
2015-01-22 17:44:56 +00:00
toastynerd
498fe95126 add the which chain method as per issue #347 2015-01-22 09:07:59 -08:00
Keith Cirkel
5fc486b573 Merge pull request #333 from cmpolis/change-assertions
Added `change`, `increase` and `decrease` assertions with `by` chain (#330)
2015-01-02 19:08:10 +00:00
Chris Polis
a6692349c5 more by cleanup 2015-01-02 10:16:25 -08:00
Chris Polis
051fd95d88 cleaned out .by for #333 2015-01-02 10:13:44 -08:00
Keith Cirkel
7e3da212f0 Merge pull request #335 from DingoEatingFuzz/expose-util
Expose the util package through the chai object
2015-01-02 17:56:54 +00:00
Michael Lange
ebcfd87a0e Expose chai util through the chai object
The chai util object has a lot of useful functions that can be used
outside of the context of assertions.
2014-12-30 13:19:45 -08:00
Chris Polis
581cf83b11 cleanup (per notes on pr #333) 2014-12-29 09:47:32 -08:00
Chris Polis
cb1c33b5d8 updated change to work w/ non-number values + tests 2014-12-29 09:45:25 -08:00
Keith Cirkel
a6a7f9c66a Merge pull request #334 from hurrymaplelad/patch-1
Typo, the flag is called 'contains' with an 's'
2014-12-29 10:11:06 +00:00