katrotz/splitify

View on GitHub
packages/meteor-jasmine/src/lib/mock.js

Summary

Maintainability
A
1 hr
Test Coverage

Function mock has 27 lines of code (exceeds 25 allowed). Consider refactoring.
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') {
Severity: Minor
Found in packages/meteor-jasmine/src/lib/mock.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status