capejs/capejs

View on GitHub
test/helpers.js

Summary

Maintainability
A
1 hr
Test Coverage

Function stubFetchAPI has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function stubFetchAPI(spy, data, dataType) {
  data = data || '{}';

  var response = { status: 200 };
  if (dataType) {
Severity: Minor
Found in test/helpers.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status