Merge pull request #548 from keithamus/release-3.4.1
chai@3.4.1
chai@3.4.1
Merge pull request #547 from keithamus/fix-docs
Fix documentation syntax errors
Fix documentation syntax errors
This is just enough to get Dox parsing the codebase to generate documentation
JSON. It does not fix potential inaccuracies or other problems with the docs.
Merge pull request #546 from Pklong/patch-1
Update assertions.js
Update assertions.js
removed 'out of range' reference error
3.4.0 / 2015-10-21
Merge pull request #539 from keithamus/release-3.4.0
chai@3.4.0
chai@3.4.0
Merge pull request #538 from tusbar/tusbar/revert-499
Revert .empty assertion change from PR #499
Revert .empty assertion change from PR #499
The change introduced in #499 breaks compatibility with Array-like
objects (e.g. mongoose arrays).
It should be applied in the next major version.
Fix #537
Merge pull request #534 from Droogans/be-oneOf-assertion
expect(inList).to.be.oneOf assertion
feat(matchers): Allow for objects in oneOf
feat(matchers): Add value-in-list assertion
Adds a way to test if a value appears in a flat list. Compliments
include.members to reverse the order of the input. Now the list
appears in the assertion, as opposed to the expect.
Closes #532
docs(contributing): Highlight test steps
Merge pull request #533 from astorije/patch-2
Fix tpyo
Fix tpyo
Merge pull request #529 from dxuehu/fix/assertLengthOfDocs
Fix assert lengthOf example
Fix assert lengthOf example
Merge pull request #527 from cjqed/should-approximately
Added approximately alias to close to
Added approximately alias to close to
Merge pull request #446 from danielbprice/master
Issue #442 chai can't cope with AssertionErrors raised from node's assert
Merge pull request #521 from jurko-gospodnetic/add-an-error-example
document how the new Error type gets detected by the a/an matcher
document how the new Error type gets detected by the a/an matcher
Merge pull request #503 from astorije/astorije/expected-types
Checking that argument given to expect is of the right type when using with include
3.3.0 / 2015-09-21
Remove multi-type support for a/an assertion
Add a utility to enforce allowed types tested by an assertion
Use new feature of a/an assertion to check type of tested object when using include assertion
Improve message of multi-type a/an assertions
Add support of multiple types in an/a assertions for the BDD API, with naive message
Check that expected type for include is an array, an object, or a string, in a naive way
Merge pull request #516 from keithamus/release-3.2.0
chai@3.3.0
chai@3.3.0
Merge pull request #512 from dereke/master
fixed expect('').to.contain('') so it passes
Merge pull request #514 from kpdecker/prop-trace
Fix stack trace tracking for property asserts
Fix stack trace tracking for property asserts
The ssfi parameter was not being updated for these methods, which ended up causing the trace to be omitted.
Fixes #358
fixed expect('').to.contain('') so it passes
Merge pull request #496 from astorije/astorije/frozen-errors
Make sure TypeErrors thrown by frozen are caught
Remove some trailing whitespaces
Make sure TypeErrors thrown by extensible are treated in a ES6 way and test these
Make sure TypeErrors thrown by sealed are treated in a ES6 way and test these
Make sure TypeErrors thrown by frozen are treated in a ES6 way and test these
Merge pull request #500 from wraithan/add-assert-gte-lte
isAtLeast, isAtMost assertions added to assert interface
Merge pull request #499 from Daveloper87/empty_string_check_fix
Shortened check for empty
isAtLeast, isAtMost assertions added to assert interface
Simplified .empty
Merge pull request #495 from cezarykluczynski/assertions-docblocks-reorder
JSDoc blocks aligned with corresponding functions
JSDoc blocks aligned with corresponding functions
Merge pull request #494 from cezarykluczynski/assertions-is-not-false-is-not-true
isNotFalse, isNotTrue assertions added
isNotTrue, isNotFalse assertions added
3.2.0 / 2015-07-19
Merge pull request #492 from keithamus/release-3.2.0
chai@3.2.0
chai@3.2.0
Merge pull request #489 from astorije/astorije/aliases
Various work on aliases
Invert assertions and aliases for is* assertions to make the documentation and code consistent with other is* assertions
Add tests for throws aliases
Make throws aliases consistent across examples and definitions
Add aliases (and tests) for assert.ok and assert.notOk to match the other isSomething assertions
Add tests for frozen, sealed and extensible aliases
Merge pull request #490 from astorije/patch-2
Fix wrong call to the underlying method when checking if an object is frozen
Fix wrong call to the underlying method when checking if an object is frozen
Add aliases to extensible, sealed and frozen properties for consistency
Fix docstring regarding assert.notFrozen
Merge pull request #486 from jluchiji/master
Added links to contribution guidelines to README
Added links to contribution guidelines to README
Merge pull request #484 from couchand/patch-1
Add respondsTo and satisfies as aliases
Merge pull request #485 from jluchiji/master
Fixing a typo in the getProperties() utility
Fixing a typo in the getProperties() utility
...where subject should apparently be object.
Add respondsTo and satisfies as aliases
Merge pull request #482 from keithamus/reencrypt-travis-api-key
Re-encrypt travis API key
3.4.1 / 2015-11-07
3.4.0 / 2015-10-21
expect(inList).to.be.oneOf
assertioninclude.members
to reverse the order of the input. Now the list appears in the assertion, as opposed to theexpect
. Closes #532new Error
type gets detected by thea
/an
matchernew Error
type gets detected by thea
/an
matcher3.3.0 / 2015-09-21
3.2.0 / 2015-07-19
getProperties()
utilitygetProperties()
utility ...wheresubject
should apparently beobject
.3.1.0 / 2015-07-16
expect(4).not.to.be.NaN;
version
property from bower.jsonversion
property bump from Makefile Makefileversion
property from bower.json Per bower/bower.json-spec@a325da3 Also their maintainer says they probably won't ever use it: http://stackoverflow.com/questions/24844901/bowers-bower-json-file-version-property3.0.0 / 2015-06-03