How to use the assertive.deepEqual function in assertive

To help you get started, we’ve selected a few assertive examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github groupon / nlm / test / steps / publish-to-npm.js View on Github external
.then(function () {
          assert.deepEqual({
            method: 'PUT',
            url: '/nlm-test-pkg',
            auth: 'Bearer some-access-token',
          }, httpCalls.pop());
        });
    });
github groupon / nlm / test / steps / publish-to-npm.js View on Github external
.then(function () {
          assert.deepEqual([], httpCalls);
        });
    });

assertive

Assertive is a terse yet expressive assertion library

BSD-3-Clause
Latest version published 4 years ago

Package Health Score

49 / 100
Full package analysis