Commit graph

877 commits

Author SHA1 Message Date
Adam Hull
0eb70e1955 Typo, the flag is called 'contains' with an 's' 2014-12-28 22:16:17 -05:00
Chris Polis
647e49c8e4 updated assertion interface with change (#330) 2014-12-27 17:52:50 -08:00
Chris Polis
34576803ec added change,increase,decrease assertions (#330) 2014-12-27 17:43:27 -08:00
Chris Polis
be67119616 assert tests for change,increase,decrease 2014-12-27 17:13:22 -08:00
Chris Polis
c44a5133f9 expect/should tests for change,increase,decrease 2014-12-27 17:10:59 -08:00
Keith Cirkel
2a91fe05d2 Merge pull request #328 from lo1tuma/issue-327
Add includes and contains alias (fixes #327)
2014-12-27 09:50:12 +00:00
Mathias Schreck
061c79051a Add includes and contains alias (fixes #327) 2014-12-24 17:53:04 +01:00
Keith Cirkel
4dc7cc073a Merge pull request #325 from chasenlehara/overwriteChainableMethodDocs
Fix docs for overwriteChainableMethod parameters
2014-12-15 14:12:13 +00:00
Chasen Le Hara
24735f14b7 Fix docs for overwriteChainableMethod parameters 2014-12-14 21:42:45 -08:00
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