Commit graph

1526 commits

Author SHA1 Message Date
Grant Snodgrass
8a2ef676e3 test: comment out broken tests in Safari 10 (#869)
Three tests on the `should` interface are failing in Safari 10 due to a
bug related to proxies. These tests should be re-enabled once the bug is
fixed. See https://github.com/chaijs/chai/issues/855.
2016-11-17 09:36:48 -02:00
deeperx
658cea23bd Update README.md for conventions used in the prior usage 2016-11-17 14:35:33 +03:00
deeperx
01f76b8307 Update Readme for the usage of auto registered chai styles 2016-11-17 14:30:34 +03:00
deeperx
81283fe539 Add script that register should into the global space 2016-11-16 19:27:57 +03:00
deeperx
b655352f56 Add script that registers assert as a side-effect 2016-11-16 19:27:05 +03:00
deeperx
1239d67a94 Add script that registers expect as a side-effect 2016-11-16 15:00:10 +03:00
Keith Cirkel
0836c4539e Merge pull request #866 from meeber/throw-doc
docs: rewrite `.throw` jsdoc
2016-11-15 23:30:46 +00:00
Grant Snodgrass
19715612cb docs: rewrite .throw jsdoc 2016-11-15 17:07:30 -05:00
Grant Snodgrass
9e16c8f1ee Merge pull request #816 from vieiralucas/drop-node-0.10
Drop support of node v0.10
2016-11-01 17:04:15 -04:00
Keith Cirkel
ed862eeb2e Merge pull request #854 from chaijs/create-license
Create LICENSE
2016-10-25 20:40:30 +01:00
Keith Cirkel
a9d9225621 Create LICENSE 2016-10-25 17:00:09 +01:00
Lucas Fernandes da Costa
43752b05df Bump version for first 4.0.0 canary release (#852) 2016-10-24 19:33:04 -02:00
Lucas Vieira
286f089fd5 Merge pull request #849 from chaijs/greenkeeper-deep-eql-1.0.3
Update deep-eql to version 1.0.3 🚀
2016-10-18 23:37:20 -02:00
greenkeeperio-bot
40fbffc979 chore(package): update deep-eql to version 1.0.3 2016-10-19 01:41:59 +01:00
Grant Snodgrass
a0154fe2b4 Merge pull request #844 from keithamus/rework-readme
docs(readme): reformat readme to common style
2016-10-16 17:04:24 -04:00
Keith Cirkel
3670c1c5f4
docs(readme): reformat readme to common style 2016-10-16 21:54:19 +01:00
lucasfcosta
93be4b15d9 Use external get-func-name module 2016-10-16 11:10:36 -02:00
Grant Snodgrass
cc79e11b51 Merge pull request #839 from chaijs/greenkeeper-type-detect-4.0.0
Update type-detect to version 4.0.0 🚀
2016-10-10 10:40:39 -04:00
greenkeeperio-bot
1792123936 chore(package): update type-detect to version 4.0.0 2016-10-10 15:19:29 +01:00
Keith Cirkel
fa461f822c Merge pull request #835 from meeber/update-type-detect
Update type-detect to v3.0.0 and fix issues
2016-10-09 17:07:31 +01:00
Keith Cirkel
e70091d2ee Merge pull request #836 from meeber/remove-has-property
Remove hasProperty util
2016-10-09 17:06:30 +01:00
Grant Snodgrass
abbc771aff Update type-detect to v3.0.0 and fix issues
- Use typeof instead of type-detect whenever possible for performance
- Fix casing whenever type-detect is used per v3.0.0 breaking change
- Remove duplicate type-detect calls by storing results in variables
2016-10-09 09:59:32 -04:00
Grant Snodgrass
d1bf6c9a96 Remove hasProperty util
It was moved to the external pathval module in a prior commit
2016-10-09 09:52:51 -04:00
Grant Snodgrass
95f1d77878 Merge pull request #830 from lucasfcosta/external-pathval
Use external pathval module
2016-10-08 19:47:21 -04:00
lucasfcosta
a33ab48186 Use external pathval module instead of internal util modules 2016-10-08 19:16:11 -03:00
Keith Cirkel
8e3072dc26 Merge pull request #833 from SonicHedgehog/jsdoc-improvements
Improve JSDoc documentation
2016-10-08 20:05:52 +01:00
Jakob Krigovsky
dcd5baa34a Punctuate descriptions 2016-10-08 19:00:08 +02:00
Jakob Krigovsky
f07fc0b65d Fix Markdown code blocks 2016-10-08 18:34:11 +02:00
Jakob Krigovsky
802beccf10 Add blank lines between headers and descriptions 2016-10-08 18:34:11 +02:00
Keith Cirkel
4936228d06 Merge pull request #832 from SonicHedgehog/fix-jsdoc
Fix typo in JSDoc param documentation
2016-10-08 15:33:24 +01:00
Jakob Krigovsky
0e96ad4735 Fix typo in param documentation 2016-10-08 15:59:50 +02:00
Aleksey Shvayka
2ef786d254 Add .empty to assert interface (#828)
* improve jsdoc

* add .empty to assert interface

* add assert.empty tests

* add Map and Set to jsdoc
2016-10-05 12:28:22 -03:00
Aleksey Shvayka
ac0c5f1a16 Do not suppress TypeErrors thrown on integrity checks (#823)
* document behavior for primitives

* simplify integrity checks

* add regression tests

* better tests

* update comment

* add comments to tests
2016-10-04 15:20:42 -03:00
Keith Cirkel
a6c2892ee2 Merge pull request #824 from shvaikalesh/patch-1
Add @shvaikalesh to MAINTAINERS
2016-10-04 09:15:15 +01:00
Aleksey Shvayka
bbfe7b0e8f Add @shvaikalesh to MAINTAINERS 2016-10-04 00:14:43 +03:00
Lucas Vieira
f3feb7af71 Merge pull request #819 from shvaikalesh/master
Remove extra `exports` and use version from pkg.json
2016-10-03 10:00:12 -03:00
Aleksey Shvayka
4d45c5db6e remove extra exports and use version from pkg.json 2016-10-03 15:12:34 +03:00
Grant Snodgrass
b99fae70f6 Merge pull request #818 from shvaikalesh/master
Use utils.type for `arguments` check
2016-10-03 07:05:49 -04:00
Aleksey Shvayka
c736c85bf0 use utils.type for arguments check 2016-10-03 12:54:14 +03:00
Lucas Vieira
298d4423c3 Drop support of node v0.10 2016-10-02 18:07:25 -03:00
Aleksey Shvayka
fdd0f8cffe Make utils.getName more robust & use it in empty (#813)
* use utils.getName

* remove extra .to in tests

* make getName even more robust

* add basic tests
2016-10-02 15:57:40 -04:00
Lucas Vieira
809ac3ea14 Merge pull request #815 from shvaikalesh/master
Remove implicit global `actual`
2016-10-02 16:13:45 -03:00
Aleksey Shvayka
f126cf6e15 Remove implicit global actual 2016-10-02 21:44:41 +03:00
Aleksey Shvayka
c38bfec30c Make empty assertion work with es6 collections (#814)
* support Map and Set

* throw on weak collections

* called on => passed

* account for partial implementations
2016-10-02 15:33:59 -03:00
Aleksey Shvayka
5b170b2e3b Make 'empty' throw on non-string primitives and functions (#812)
* Make 'empty' throw on non-string primitives and functions

* Update jsdoc

* improve error messages

* fix symbol to string coercion for Node 0.12

* use utils.inspect
2016-10-01 15:58:45 -03:00
Grant Snodgrass
5dd96a0a3d Merge pull request #810 from meeber/refactor-own-property
Refactor `ownProperty`
2016-09-29 16:12:38 -04:00
Lucas Vieira
29e7d8728e Merge pull request #668 from lucasfcosta/deep-flag-for-keys
Deep flag support for keys assertion
2016-09-28 19:12:38 -03:00
Grant Snodgrass
edfe064774 Refactor ownProperty
- Add `own` flag
- Make `ownProperty` and `haveOwnProperty` aliases of `own.property`
- Add `deep` support to `own.property`
- Add `assert.deepOwnPropertyVal`
- Add `assert.notDeepOwnPropertyVal`
2016-09-28 17:24:00 -04:00
Grant Snodgrass
1f36393d1c Standardize failed property assertion messages 2016-09-28 06:51:26 -04:00
Grant Snodgrass
11007704be Merge pull request #808 from meeber/fix-broken-ie-tests
Fix getName for anon functions in IE
2016-09-27 18:54:21 -04:00