UNPKG

4.5

Version:

Monadic test assertions

14 lines 376 B
export function pass(value) { return new PassAssertion(value); } var PassAssertion = (function () { function PassAssertion(value) { this.value = value; } PassAssertion.prototype.verify = function (verification) { verification.success(this.value); }; return PassAssertion; }()); export { PassAssertion }; //# sourceMappingURL=pass.js.map