Skip to content

0.4.0 Expects

Latest
Compare
Choose a tag to compare
@RobDWaller RobDWaller released this 14 Aug 13:31
0945762

This release adds expects functionality to the Result and Option objects, specifically the expect(), expectErr() and expectNone() methods. This provides more control over the error messages outputted when objects are unwrapped and panic.

Additional Work:

  • Upgraded integration with Deno standard library.
  • Fixed unit tests to work with assertStrictEquals().
  • Added code comments to main module.
  • Updated README documentation.

To Do:

  • Add more code comments.
  • Add more Rust-like functionality.
  • Add GitHub pipeline for publishing to nest.land.