packages/meteor-jasmine/src/lib/mock.js
Function mock
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var mock = function (object, propertyName, options) {
if (typeof object !== 'object' && typeof object !== 'function') {
throw new Error('object must be an object')
}
if (typeof propertyName !== 'string') {