Skip to content

Releases: rluba/hamjest

v2.12.0

21 Jul 12:00

Choose a tag to compare

Add __.describe(…) utility method to get the description of a matcher as a string.

v2.11.0

13 Mar 06:16

Choose a tag to compare

  • Add isEmpty matcher (#11)
  • Improve description of hasSize to be more accurate

v2.10.0

11 Feb 11:57

Choose a tag to compare

  • Add falsey as alias for falsy
  • Export Description type to allow testing of external matchers

v2.9.1

20 Jan 08:43

Choose a tag to compare

Fix: fulfilled() / willBe() does not describe mismatches if the submatcher is also a promising matcher

v2.9.0

08 Jan 14:00

Choose a tag to compare

v2.8.0

11 Dec 12:15

Choose a tag to compare

  • Add support for Mocha's diff feature (via #7 ). The current diff API for matchers is considered experimental (see #7 and #8).
  • Improve description of Error objects and objects containing Errors to contain the actual fields instead of just {}