UNPKG

must

Version:

Testing and assertion library with friendly BDD syntax — awesome.must.be.true(). Many expressive matchers and is test runner and framework agnostic. Follows RFC 2119 with its use of MUST. Good and well tested stuff.

12 lines (10 loc) 329 B
var O = require("oolong") var Must = require("../..") var assert = require("./assert") describe("Must.prototype.is", function() { it("must be an alias of Must.prototype.be", function() { var be = O.lookupGetter(Must.prototype, "be") var is = O.lookupGetter(Must.prototype, "is") assert.strictEqual(is, be) }) })