Commit graph

1199 commits

Author SHA1 Message Date
Grant Snodgrass
6d6bf60dba Add .deep.property for deep equality comparisons 2016-08-14 16:07:22 -04:00
Lucas Fernandes da Costa
d4e8a4aee5 Merge pull request #757 from meeber/nested-property
Breaking: Rename `.deep.property` to `.nested.property`
2016-08-14 13:41:37 -03:00
Lucas Fernandes da Costa
77ba5eb5a2 Merge pull request #744 from meeber/not-property
Breaking: Change `.not.property(name, val)` behavior
2016-08-14 13:40:43 -03:00
Grant Snodgrass
87c3be598f Merge pull request #768 from vieiralucas/patch-1
Fix indentation of includeStack at config
2016-08-12 07:25:46 -04:00
Lucas Vieira
fbc08adf32 Fix indentation of includeStack at config 2016-08-11 23:44:26 -03:00
Keith Cirkel
fbb4a4e085 Merge pull request #762 from chaijs/greenkeeper-mocha-3.0.0
Update mocha to version 3.0.0 🚀
2016-08-01 12:14:38 +01:00
greenkeeperio-bot
ece6e24ad9 chore(package): update mocha to version 3.0.0 2016-08-01 06:17:26 +01:00
Grant Snodgrass
92768fd0da Breaking: Rename .deep.property to .nested.property
- Previously, the `deep` flag had unexpected behavior when used with the
`property` assertion: Instead of switching from strict to deep equality,
it unlocked the ability to use dot and bracket notation when referencing
property names. This behavior now belongs to the new `nested` flag.
- assert.deepProperty renamed to assert.nestedProperty
- assert.notDeepProperty renamed to assert.notNestedProperty
- assert.deepPropertyVal renamed to assert.nestedPropertyVal
- assert.notDeepPropertyVal renamed to assert.notNestedPropertyVal
2016-07-25 18:59:01 -04:00
Grant Snodgrass
576489a3be Breaking: Change .not.property(name, val) behavior
- Previously, `expect(obj).not.property(name, val)` would throw an Error
if `obj` didn't have a property named `name`. This change causes the
assertion to pass instead.
- assert.propertyNotVal renamed to assert.notPropertyVal
- assert.deepPropertyNotVal renamed to assert.notDeepPropertyVal
2016-07-24 19:52:01 -04:00
Keith Cirkel
43a64c4a1d Merge pull request #750 from shvaikalesh/patch-1
Fix new Promise example
2016-07-10 02:06:02 +01:00
Aleksey Shvayka
3f361c7838 Fix new Promise example 2016-07-10 00:12:33 +03:00
Keith Cirkel
cc7799c416 Merge pull request #739 from meeber/duplicate-members
Fix duplicate handling in members assertion
2016-06-27 09:58:39 +01:00
Keith Cirkel
387dca2320 Merge pull request #742 from lucasfcosta/throws-polishment-assert-interface
Throws polishment assert interface
2016-06-27 09:55:51 +01:00
lucasfcosta
3a8f622de8 Improve docStrings about strict or not comparisons for throws assertion 2016-06-26 20:29:49 -03:00
lucasfcosta
9375d85081 Improve handling for empty Strings on throws assertion 2016-06-26 20:06:11 -03:00
Keith Cirkel
9b9d979ef6 Merge pull request #740 from lucasfcosta/fix-throws-getConstructorName-tests
Fix tests for .throws using getConstructor name instead of .name prop
2016-06-25 23:10:20 +01:00
lucasfcosta
db1faba456 Throws assertion polishments for Assert interface 2016-06-25 17:21:05 -03:00
lucasfcosta
bc7c19f006 Fix tests for .throws using getConstructor name instead of .name prop 2016-06-25 14:06:16 -03:00
Grant Snodgrass
3fdb5423e7 Fix duplicate handling in members assertion 2016-06-24 20:50:16 -04:00
Keith Cirkel
c92fe8feed Merge pull request #738 from chaijs/fix-opencollective-link
docs: fix link to OpenCollective
2016-06-24 15:49:56 +01:00
Keith Cirkel
eb61a837d0 docs: fix link to OpenCollective 2016-06-24 15:27:04 +01:00
Keith Cirkel
9e4c447f2e Merge pull request #732 from piamancini/patch-1
Added backers and sponsors from OpenCollective
2016-06-24 15:16:33 +01:00
Lucas Fernandes da Costa
3ef86fdbf6 Merge pull request #721 from meeber/property-validation
Throw when non-existent property is read
2016-06-24 11:12:02 -03:00
Pia Mancini
47438f5c7f removed sponsors badge 2016-06-24 07:01:53 -07:00
Pia Mancini
1f28d936ee removed avatar placeholders for backers/sponsors 2016-06-24 07:00:05 -07:00
Grant Snodgrass
d0972d2999 Throw when non-existent property is read 2016-06-24 09:39:49 -04:00
Keith Cirkel
9dcd0eb6b0 Merge pull request #736 from lucasfcosta/readme-update-related-projects
Update related projects into README.md
2016-06-24 10:18:16 +01:00
Keith Cirkel
d08002ed88 Merge pull request #683 from lucasfcosta/throw-using-checkerror
Throw using checkError module
2016-06-24 10:12:13 +01:00
Keith Cirkel
eb531aec4e Merge pull request #733 from chaijs/greenkeeper-karma-1.0.0
Update karma to version 1.0.0 🚀
2016-06-24 10:08:49 +01:00
lucasfcosta
4f0d798355 Update related projects into README.md 2016-06-23 20:57:59 -03:00
greenkeeperio-bot
df9c88c1db chore(package): update karma to version 1.0.0 2016-06-23 19:45:38 +01:00
Pia Mancini
8faf8bdacc Added backers and sponsors from OpenCollective
Now sponsors & backers of your collective will show up here together with a button to your collective's public page.
2016-06-20 12:46:24 -07:00
Lucas Fernandes da Costa
3a32829de8 Merge pull request #729 from chaijs/add-meebers-picture
docs: add @meeber to core contributor avatars
2016-06-14 12:00:02 -03:00
Keith Cirkel
b79614cd45 docs: add @meeber to core contributor avatars 2016-06-14 14:49:45 +01:00
Keith Cirkel
c273846593 Merge pull request #728 from meeber/ordered-members
Add ordered flag for members assertions
2016-06-13 12:06:31 +01:00
Grant Snodgrass
adf2b6cf78 Add ordered flag for members assertions 2016-06-12 13:32:50 -04:00
Lucas Fernandes da Costa
fd2cc2b399 Merge pull request #724 from meeber/issue-718
Fix chai.use as ES6 named export
2016-06-09 19:42:11 -03:00
Grant Snodgrass
a1c5ff74c7 Fix chai.use as ES6 named export 2016-06-09 17:50:32 -04:00
lucasfcosta
b9436a9e56 Refactor throw to use checkError module 2016-06-08 20:29:45 -03:00
Keith Cirkel
89231de9b7 Merge pull request #720 from shvaikalesh/patch-1
Fix typo in hasProperty
2016-06-08 16:24:39 +01:00
Aleksey Shvayka
3151347f01 Fix typo in hasProperty 2016-06-08 17:35:07 +03:00
Keith Cirkel
2194a89e02 Merge pull request #714 from chaijs/astorije/minor-typo
Fix minor typo in the docstring of property
2016-05-30 10:15:24 +01:00
Jérémie Astori
27de3a734b Fix minor typo in the docstring of property 2016-05-29 19:00:35 -04:00
Lucas Fernandes da Costa
5e7dc28438 Merge pull request #695 from chaijs/greenkeeper-karma-sauce-launcher-1.0.0
Update karma-sauce-launcher to version 1.0.0 🚀
2016-05-16 11:56:04 -03:00
greenkeeperio-bot
835bd70ed8 chore(package): update karma-sauce-launcher to version 1.0.0 2016-05-16 15:12:57 +01:00
Keith Cirkel
e388e90b65 Merge pull request #696 from chaijs/greenkeeper-karma-firefox-launcher-1.0.0
Update karma-firefox-launcher to version 1.0.0 🚀
2016-05-16 15:12:43 +01:00
greenkeeperio-bot
f83afa66a4 chore(package): update karma-firefox-launcher to version 1.0.0 2016-05-16 15:00:30 +01:00
Grant Snodgrass
378bb25f65 Merge pull request #699 from chaijs/greenkeeper-browserify-13.0.1
browserify@13.0.1
2016-05-16 10:00:16 -04:00
greenkeeperio-bot
584d109ae9 chore(package): update browserify to version 13.0.1 2016-05-16 14:51:24 +01:00
Keith Cirkel
7e32720a10 Merge pull request #694 from chaijs/greenkeeper-karma-mocha-1.0.1
Update karma-mocha to version 1.0.1 🚀
2016-05-16 14:51:09 +01:00