assert-expect

1.0.6 • Public • Published

assert-expect

exposes qunit-style assert.expect

installation:

npm install --save assert-expect

usage:

const assert = require('assert-expect');
assert.expect(2);
assert(true);
assert(true);
assert(true);
assert.finished(); // throws exception because 2 asserts were expected, but three were made.

Readme

Keywords

none

Package Sidebar

Install

npm i assert-expect

Weekly Downloads

0

Version

1.0.6

License

MIT

Last publish

Collaborators

  • 1stdibs