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