Sha256: 4bf2739c320b75aaa00daa1747204eaafd9aa8b76f7ed9cb1816dc1839fd1d1b
Contents?: true
Size: 415 Bytes
Versions: 8
Compression:
Stored size: 415 Bytes
Contents
/*! * Chai - getActual utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /** * # getActual(object, [actual]) * * Returns the `actual` value for an Assertion * * @param {Object} object (constructed Assertion) * @param {Arguments} chai.Assertion.prototype.assert arguments */ module.exports = function (obj, args) { return args.length > 4 ? args[4] : obj._obj; };
Version data entries
8 entries across 8 versions & 1 rubygems