assert-the-unexpected

1.1.0 • Public • Published

assert-the-unexpected

NPM version Build Status Coverage Status

This library implements the node core assert API as an Unexpected facade.

Compatibility

A great deal of emphasis was placed on compatibility and this module aims to be a drop-in replacement. It was developed against the node core test suite which it passes with the exception of the following:

  • circular references are not supported
  • deepEqual() not throwing on comparisons of:
    • "a" to {0:'a'} (supported for Arrays)
    • mismatching prototypes

The libary has been tested against the follwing baseline versions of node assert:

  • 4.7.3
  • 6.15.1

Readme

Keywords

none

Package Sidebar

Install

npm i assert-the-unexpected

Weekly Downloads

1

Version

1.1.0

License

BSD-3-Clause

Unpacked Size

64.5 kB

Total Files

10

Last publish

Collaborators

  • munter
  • joelmukuthu
  • gustavnikolaj
  • alexjeffburke
  • papandreou
  • sunesimonsen