assertron

A supplementary assertion library

MIT License

Downloads
1.1K
Stars
4
Committers
8

Bot releases are hidden (Show)

assertron - v9.2.3

Published by unional over 2 years ago

9.2.3 (2022-06-04)

Bug Fixes

assertron - v9.2.2

Published by unional over 2 years ago

9.2.2 (2022-05-31)

Bug Fixes

  • rejects can specify reject value type (7e03fac)
assertron - v9.2.1

Published by unional over 2 years ago

9.2.1 (2022-05-31)

Bug Fixes

assertron - v9.2.0

Published by unional over 2 years ago

9.2.0 (2022-05-31)

Features

assertron - v7.1.2

Published by unional over 5 years ago

7.1.2 (2019-06-22)

Bug Fixes

  • add support of () => never for throws() (#128) (0d1d25e)
assertron - v7.1.1

Published by unional over 5 years ago

7.1.1 (2019-06-10)

Bug Fixes

  • repeat() to throw FailOnOccurance error (#127) (b355b63)
assertron - v7.1.0

Published by unional over 5 years ago

7.1.0 (2019-06-10)

Features

assertron - v7.0.2

Published by unional over 5 years ago

7.0.2 (2019-05-13)

Bug Fixes

assertron - v7.0.1

Published by unional over 5 years ago

7.0.1 (2019-04-11)

Bug Fixes

assertron - v7.0.0

Published by unional over 5 years ago

7.0.0 (2019-03-14)

Bug Fixes

BREAKING CHANGES

  • satisfies() expectation changed

Check out satisfier for more detail.

In a nutshell:

  • single expectation will not test against each entry in array anymore
  • undefined is now used for checking for undefined instead of matching anything. Use anything symbol for that purpose.
  • array now matches each entry. You need to have the same length. Use startsWith() for the previous behavior.
assertron - v6.1.0

Published by unional over 5 years ago

6.1.0 (2019-01-28)

Features

assertron - v6.0.0

Published by unional almost 6 years ago

6.0.0 (2018-12-23)

BREAKING CHANGES

  • removed equal() and deelEqual(). They are removed because they are depending on NodeJS assert. Please use nodeJS assert or other libraries such as ChaiJS for those.
    Removed optional message? in throws().
    The throws() overload has been reworked. It is working fine but there might have some cases missed.
    Renamed satisfy() to satisfies() to match with other functions.
assertron - v5.2.3

Published by unional almost 6 years ago

5.2.3 (2018-12-10)

Bug Fixes

  • skip perf_hooks using package.json/browser field (#111) (d7a3367)
assertron - v5.2.2

Published by unional about 6 years ago

5.2.2 (2018-10-25)

Bug Fixes

assertron - v5.2.1

Published by unional about 6 years ago

5.2.1 (2018-10-25)

Bug Fixes

  • deepEqual support of string array (6ceae6f)
assertron - v5.2.0

Published by unional about 6 years ago

5.2.0 (2018-10-21)

Features

assertron - v5.1.4

Published by unional about 6 years ago

5.1.4 (2018-08-05)

Bug Fixes

  • don't load perf_hook if not running in node (#107) (9d4c906)
assertron - v5.1.3

Published by unional over 6 years ago

5.1.3 (2018-07-22)

Bug Fixes

assertron - v5.1.2

Published by unional over 6 years ago

5.1.2 (2018-06-08)

Bug Fixes

assertron - v5.1.1

Published by unional over 6 years ago

5.1.1 (2018-06-07)

Bug Fixes