1.0.6 • Published 8 years ago
assert-expect v1.0.6
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.