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) 381 B
var O = require("oolong") var Must = require("../..") var assert = require("./assert") describe("Must.prototype.eventually", function() { it("must be an alias of Must.prototype.resolve", function() { var eventually = O.lookupGetter(Must.prototype, "eventually") var resolve = O.lookupGetter(Must.prototype, "resolve") assert.strictEqual(eventually, resolve) }) })