assert6

1.0.1 • Public • Published

assert6

Build Status Coverage Status

Node assert with support for Maps and Sets

Install

$ npm install [--save-dev] assert6

API

assert6 has the same api as the built-in assert with a few additional methods. The main difference is that assert.deepEqual and assert.deepStrictEqual work for Maps and Sets.

assert.assertMap(actual, expected, message)

assert.assertMapStrict(actual, expected, message)

assert.assertSet(actual, expected, message)

assert.assertSetStrict(actual, expected, message)

Author

Evan Lucas

License

MIT (See LICENSE for more info)

/assert6/

    Package Sidebar

    Install

    npm i assert6

    Weekly Downloads

    41

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • eh
    • evanlucas