Commit graph

818 commits

Author SHA1 Message Date
Keith Cirkel
874ac20541 Merge pull request #317 from jasonkarns/patch-2
minor docs typo
2014-12-09 21:04:27 +00:00
Keith Cirkel
2aa6eb6392 Merge pull request #318 from jasonkarns/patch-3
typos in docs
2014-12-09 21:04:15 +00:00
Keith Cirkel
4531bdf61d Merge pull request #316 from jasonkarns/patch-1
update docs: getAllFlags -> transferFlags
2014-12-09 21:03:17 +00:00
Jason Karns
9db0626783 typos in docs 2014-12-09 09:12:22 -05:00
Jason Karns
d2c4c3f79d minor docs typo 2014-12-09 09:11:06 -05:00
Jason Karns
7ee2c18cf7 update docs: getAllFlags -> transferFlags
Documentation was out of date
2014-12-09 09:09:07 -05:00
Keith Cirkel
46aac80185 Merge pull request #313 from cjqed/254-expect-any-all
Added the 'any' and 'all' flags for 'keys' assertion, with 'all' being the default behavior
2014-12-08 21:31:54 +00:00
Chris Jones
e0e06082ea Added the all and any flags for keys assertion, with all being the default behavior
Extended keys documentation and set bools instead of changing flags in the keys assertion

Miswrote in keys documentation, corrected mistake

Edited documentation for keys to better match how it interacts with contains and have
2014-12-03 18:00:42 -05:00
Keith Cirkel
f06278f0b8 Merge pull request #312 from cjqed/291-assert-same-deep-members
Fixes issue #291, adds assert.sameDeepMembers
2014-12-03 20:22:21 +00:00
Chris Jones
0d814eb6f2 Changed public comment of sameDeepMemebers to be more clear 2014-12-02 19:38:07 -05:00
Chris Jones
e3e170d3e0 Fixes issue #291, adds assert.sameDeepMembers 2014-12-02 19:38:07 -05:00
Keith Cirkel
49e003c1f2 Merge pull request #311 from cjqed/305-above-below-on-assert
Issue #305 fixed, added assert.isAbove and assert.isBelow
2014-12-02 22:56:11 +00:00
Keith Cirkel
7de269af35 Merge pull request #308 from prodatakey/hasproperty
Fix properties with `undefined` value pass property assertion
2014-12-02 22:55:14 +00:00
Chris Jones
e8e8caf4c2 Issue #305 fixed, added assert.isAbove and assert.isBelow 2014-11-29 01:52:00 -05:00
Joshua Perry
414dea2881 Fix typo 2014-11-21 15:07:26 -07:00
Joshua Perry
dd51594075 More unit tests for new utility functions 2014-11-21 12:27:26 -07:00
Joshua Perry
2d22f4534e Refactor common functionality, document, test 2014-11-20 16:48:56 -07:00
Joshua Perry
8cdb7b1d76 Refactor if statement out 2014-11-18 17:42:30 -07:00
Joshua Perry
c4b0d18829 Small unit test fix 2014-11-18 17:25:39 -07:00
Joshua Perry
7d466b2d37 Handle array indexing terminating paths 2014-11-18 17:18:00 -07:00
Keith Cirkel
ff32dad2ae Merge pull request #309 from ericdouglas/iterableEqual-couting-once
Couting variables just once
2014-11-18 13:58:25 +00:00
ericdouglas
21b83b3ddf couting variables just once 2014-11-16 19:45:00 -02:00
Joshua Perry
32826c06df Fix properties with undefined value pass property assertion 2014-11-15 16:29:57 -07:00
Keith Cirkel
b71b930d83 Merge pull request #306 from chaijs/revert-297-noopchainfunc
Revert "Allows writing lint-friendly tests"
2014-11-13 14:39:57 +00:00
Keith Cirkel
b826feba51 Revert "Allows writing lint-friendly tests" 2014-11-13 11:58:50 +00:00
Jake Luer
c8b3208ce4 Release 1.10.0 2014-11-10 09:06:08 -05:00
Keith Cirkel
828f48148f Merge pull request #297 from prodatakey/noopchainfunc
Allows writing lint-friendly tests
2014-11-10 09:44:19 +00:00
Keith Cirkel
6073d1c3e4 Merge pull request #300 from julienw/299-fix-getMessage-test
Fix #299: the test is defining global variables
2014-11-06 11:20:33 +00:00
Julien Wajsberg
84cba222d1 Fix #299: the test is defining global variables 2014-11-06 12:09:55 +01:00
Joshua Perry
867563b0db Add a couple more unit tests 2014-11-05 10:14:28 -07:00
Joshua Perry
b4c0424ffb Add unit tests for chained terminating property asserts 2014-11-05 07:30:45 -07:00
Joshua Perry
c448e1de7c Revise documentation wording 2014-11-05 07:25:26 -07:00
Joshua Perry
bbd3aafbe5 Add docs for function style NOOP asserts 2014-11-04 10:27:43 -07:00
Joshua Perry
9142ce0cfd Make the NOOP function a shared constant 2014-11-04 09:25:31 -07:00
Keith Cirkel
3e35adff93 Merge pull request #298 from dasilvacontin/negativeZeroLogging
added check for logging negative zero
2014-11-03 12:03:52 +00:00
David da Silva
edef912f41 why not more assertions 2014-11-01 20:24:59 +01:00
David da Silva
627e4b0096 added test for inspecting -0 2014-11-01 20:19:27 +01:00
David da Silva
cec4ac1ed7 a more readable/simple condition statement, as pointed out by @keithamus 2014-10-31 15:20:12 +01:00
David da Silva
cbf76dcde8 added check for logging negative zero 2014-10-31 11:40:51 +01:00
Joshua Perry
cc1357d344 Change test to not trigger argument bug 2014-10-13 18:00:07 -06:00
Joshua Perry
4b0c0b6222 Allows writing lint-friendly tests
This makes the final assertion checks noop functions so that they can be formatted like function calls. This keeps linters (JSLint/JSHint) off our back for having an inop expression.

Completes #41
2014-10-13 16:31:17 -06:00
Jake Luer
d7030d55a0 readme: update contributors for 1.9.2 2014-09-29 19:27:11 -04:00
Jake Luer
15eab030b7 Release 1.9.2 2014-09-29 19:24:59 -04:00
Jake Luer
834fd5b0dd Merge pull request #268 from charlierudolph/cr-lazyMessages
Allow messages to be functions
2014-09-29 18:18:25 -04:00
Jake Luer
7e28dcc267 Merge pull request #269 from charlierudolph/cr-codeCleanup
Remove unused argument
2014-09-29 18:17:03 -04:00
Jake Luer
6e65020d2e Merge pull request #277 from charlierudolph/fix-doc
Fix assert documentation
2014-09-29 18:16:24 -04:00
Jake Luer
3e692e6d04 Merge pull request #279 from mohayonao/fix-closeTo
fix: closeTo should check value's type before assertion
2014-09-29 18:15:53 -04:00
Jake Luer
385bf9f6bc Merge pull request #292 from boneskull/mocha
resolves #255: upgrade mocha
2014-09-12 09:45:24 -04:00
Christopher Hiller
6d6f03d2d2 resolves #255: upgrade mocha 2014-09-11 22:54:56 -07:00
Jake Luer
a9c974a926 Merge pull request #289 from charlierudolph/cr-dryUpCode
Dry up code
2014-08-30 11:26:25 -04:00