sanger/limber

View on GitHub
app/frontend/javascript/test_support/mock_api.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function mockApi has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const mockApi = function (resources = sequencescapeResources) {
  const devour = devourApi({ apiUrl: dummyApiUrl }, resources, dummyApiKey)
  const mockedRequests = []
  // Find a request in the mockedRequests array that matches the request
  // object. If no match is found, return undefined.
Severity: Major
Found in app/frontend/javascript/test_support/mock_api.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status