/assert

node and browser (IE8+) compatible assertion library

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Assert

Build Status Coverage Status Dependency Status

A last-resort, legacy browser and node compatible, assert library.

Implements all of Chai.js Assert functions except for .deepProperty and the deepProperty-related functions.

assert.throws has been renamed to assert.exception and assert.noException.

assert.ifError is included as an alias of notOk for expressively testing for the non-presence of errors.