sanger/limber

View on GitHub
app/frontend/javascript/test_support/factories/plate_factory.js

Summary

Maintainability
A
1 hr
Test Coverage

Function plateFactory has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const plateFactory = function (options = {}) {
  const { _filledWells, _wellOptions, ...plateOptions } = options
  let uuid = plateOptions.uuid || 'plate-uuid'
  let id = plateOptions.id || '1'
  // Bit inefficient, in that we generate wells even if we immediately override them
Severity: Minor
Found in app/frontend/javascript/test_support/factories/plate_factory.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status