How to use the assertive.hasType 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 buggerjs / bugger-daemon / test / unit / page / model.js View on Github external
it('assigns an id', function() {
        assert.hasType(String, this.page.id);
      });

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