expect.js 233 B

123456789101112
  1. /*!
  2. * chai
  3. * Copyright(c) 2011-2012 Jake Luer <jake@alogicalparadox.com>
  4. * MIT Licensed
  5. */
  6. module.exports = function (chai, util) {
  7. chai.expect = function (val, message) {
  8. return new chai.Assertion(val, message);
  9. };
  10. };