node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป

assert-the-unexpected

assert-the-unexpected

NPM version Build Status

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

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 current baseline version of node assert is 4.7.3.