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.

10 lines (8 loc) 247 B
var O = require("oolong") var Must = require("../..") var assert = require("./assert") describe("Must.prototype.assert", function() { it("must not be enumerable", function() { assert(O.keys(Must(undefined)).indexOf("assert") == -1) }) })