Manoj Kumar
b7d758ba8e
Fix #792 : Rephrase old docs
2016-09-13 06:12:49 +00:00
Lucas Fernandes da Costa
662b76c82d
Merge pull request #796 from vieiralucas/verify-type-round2
...
Verify types on increase | decrease
2016-09-12 15:01:45 -03:00
Lucas Vieira
5f3c4ae166
Improve docs for "increase | decrease"
...
Indicate that 'property' and 'message' are optional.
Indicate that 'increase' and 'decrease' can receive a function which
returns the property to be checked.
2016-09-12 13:26:28 -03:00
Keith Cirkel
95b511a51c
Merge pull request #794 from lucasfcosta/consistent-message-assert-equals
...
Enabling showDiff for assert's equal and notEqual methods. Closes #790
2016-09-11 22:20:53 +01:00
Lucas Vieira
43b22c8fac
Verify types on increase | decrease
2016-09-10 17:00:13 -03:00
lucasfcosta
d539c8d8a3
Enabling showDiff for assert's equal and notEqual methods. Closes #790
2016-09-10 13:29:16 -03:00
Lucas Vieira
62309d38c4
Documentation update to indicate type requirements
2016-09-08 09:37:23 -04:00
Lucas Vieira
c3e828534b
Verify types on within and related assertions
2016-09-08 09:37:23 -04:00
lucasfcosta
df1a89241b
ownProperty assertions on Assert interface
2016-09-08 09:37:22 -04:00
lucasfcosta
16101af347
Assertion subject (obj) changes when using ownProperty assertion
2016-09-08 09:37:22 -04:00
lucasfcosta
01189490bd
Truncate typedArrays according to their string representation
2016-09-08 09:37:22 -04:00
lucasfcosta
0e68e8d488
Use getOwnPropertyDescriptor instead of __lookup methods
2016-09-08 09:37:22 -04:00
lucasfcosta
3ff3cc73c8
Use regex.test method to check for TypedArrays
2016-09-08 09:37:22 -04:00
lucasfcosta
4d314b614b
Fix truncateThreshold
2016-09-08 09:37:22 -04:00
lucasfcosta
aae52f2f42
Minor inspect code style fixes
2016-09-08 09:37:22 -04:00
lucasfcosta
b90ba4e5a0
Truncate long typedArray
2016-09-08 09:37:22 -04:00
lucasfcosta
8123bf778c
formatTypedArray function
2016-09-08 09:37:22 -04:00
lucasfcosta
f20c7b5b01
isTypedArray verification
2016-09-08 09:37:22 -04:00
lucasfcosta
0a8869643c
New showDiff behaviour also depending on expected and actual values
2016-09-08 09:37:22 -04:00
Whitney Young
04aa795b73
No longer silently allowing undefined method calls. Fixes #467 .
2016-09-08 09:37:22 -04:00
Tristan Patch
a1190c9256
Deep members comparisons show diff.
2016-09-08 09:37:22 -04:00
Sakthipriyan Vairamani
d2884a6baa
handle NaN properly in assertions
...
Fixes : #498
2016-09-08 09:37:22 -04:00
Dai
128c1126ac
Updated code based on discussion
2016-09-08 09:37:22 -04:00
Dai
e0ee3def23
Added handling for undefined and null (fails on negate flag too)
2016-09-08 09:37:22 -04:00
not-an-aardvark
e8085b0ad8
Add fix suggestions when accessing a nonexistent property in proxy mode
...
fixes #771
2016-09-07 21:34:29 -04:00
Keith Cirkel
d521ed8f18
Merge pull request #779 from TheSavior/is-finite
...
Adding `.finite`. Fixes #271
2016-09-02 17:30:52 +01:00
Eli White
f26e415be5
Use a property assertion and update tests
2016-09-01 20:55:09 -07:00
Grant Snodgrass
a42586e494
Merge pull request #774 from lucasfcosta/configurable-blacklist
...
Configurable proxy blacklist
2016-09-02 09:45:32 +08:00
Eli White
10cacc59be
More docs updates
2016-09-01 13:00:43 -07:00
Eli White
754bd2415d
Adding tests for should. Fixing comment
2016-09-01 12:57:30 -07:00
Eli White
9d914143fc
Adding .finite
. Fixes #271
2016-09-01 10:34:58 -07:00
lucasfcosta
05c37febfc
Fix typo on docs for the inspect utility
2016-08-31 19:42:34 -03:00
lucasfcosta
0c06de5a80
Add proxyExcludedKeys config setting. Closes #765
2016-08-31 19:42:15 -03:00
Grant Snodgrass
93905a7441
Merge pull request #778 from lucasfcosta/improve-exist-assertion
...
Improve exist assertion (Triple equals and addition to assert interface)
2016-08-30 14:17:12 +08:00
lucasfcosta
374f405527
Exist assertion on the assert interface
2016-08-26 21:16:35 -03:00
lucasfcosta
e731740d5c
Exist assertion using triple equals and minor style fixes for it
2016-08-26 21:02:27 -03:00
Gregg Lind
02725b3b13
Fix #775 - linting for redeclared vars
2016-08-25 10:05:39 -05:00
lucasfcosta
481b6306ab
Fix backtick which should have been an apostrophe
2016-08-23 18:16:22 -03:00
Keith Cirkel
49ed210e6f
Merge pull request #761 from meeber/deep-include
...
Add `.deep.include` for deep equality comparisons
2016-08-16 21:04:56 +01:00
Lucas Fernandes da Costa
70d8fe2f4b
Merge pull request #760 from meeber/fix-include
...
Breaking: Fix `.include` to always use strict equality
2016-08-15 15:39:51 -03:00
Lucas Fernandes da Costa
dcd5524d8a
Merge pull request #758 from meeber/deep-property
...
Add `.deep.property` for deep equality comparisons
2016-08-15 15:36:58 -03:00
Lucas Fernandes da Costa
0662b7bafa
Merge pull request #770 from vieiralucas/optional-proxy
...
Make proxies optional
2016-08-15 15:35:41 -03:00
Lucas Vieira
0f34cb50a5
Make proxies optional
2016-08-15 13:18:28 -03:00
Grant Snodgrass
7d1dd301c1
Add .deep.include
for deep equality comparisons
2016-08-14 16:08:09 -04:00
Grant Snodgrass
38739f45fd
Breaking: Fix .include
to always use strict equality
...
- Previously, `.include` was using strict equality for non-negated property
inclusion, but deep equality for negated property inclusion and array
inclusion. This fix causes `.include` to always use strict equality.
2016-08-14 16:07:22 -04:00
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
Lucas Vieira
fbc08adf32
Fix indentation of includeStack at config
2016-08-11 23:44:26 -03:00
Grant Snodgrass
a5a90cbd9f
Add .deep.property
for deep equality comparisons
2016-07-25 20:45:08 -04:00