123456789101112131415161718192021222324 |
- module.exports = function(should, Assertion) {
- /**
- * Simple chaining. It actually do nothing.
- *
- * @memberOf Assertion
- * @name be
- * @property {should.Assertion} be
- * @alias Assertion#an
- * @alias Assertion#of
- * @alias Assertion#a
- * @alias Assertion#and
- * @alias Assertion#have
- * @alias Assertion#has
- * @alias Assertion#with
- * @alias Assertion#is
- * @alias Assertion#which
- * @alias Assertion#the
- * @alias Assertion#it
- * @category assertion chaining
- */
- ['an', 'of', 'a', 'and', 'be', 'has', 'have', 'with', 'is', 'which', 'the', 'it'].forEach(function(name) {
- Assertion.addChain(name);
- });
- };
|