earljs
Version:
Ergonomic, modern and type-safe assertion library
12 lines (11 loc) • 348 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.toBeExhausted = void 0;
function toBeExhausted(control) {
return control.assert({
success: control.actual.isExhausted(),
reason: 'Mock not exhausted!',
negatedReason: 'Mock exhausted!',
});
}
exports.toBeExhausted = toBeExhausted;
;