@crabas0npm/accusamus-veniam-dicta

1.0.0 • Public • Published

@crabas0npm/accusamus-veniam-dicta

Expect two values to be equal, for whatever latest notion of equality.

Most of my unit tests are about comparing actual results with expectations, so I want a central place (this module) to maintain a code description of my latest notion of JavaScript value equality.

Usage

see test/usage.js

Caveats

  • NaN is treated as self-equal for top-level values. I consider this a feature. Future versions may treat it self-equal even when deep-comparing containers.

License

ISC

Readme

Keywords

Package Sidebar

Install

npm i @crabas0npm/accusamus-veniam-dicta

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

15.6 kB

Total Files

10

Last publish

Collaborators

  • thanhl4861