UNPKG

egress-bootstrap

Version:

A minimal Express app template for a user account system, built with Twitter's Bootstrap.

9 lines 352 B
module.exports = function (assert, testuser, bcrypt) { describe("Bcrypt", function () { describe("Test user's password", function () { it("should match the encrypted password", function () { assert(bcrypt.compareSync(testuser.password, bcrypt.hashSync(testuser.password))); }); }); }); };