sanger/limber

View on GitHub
app/frontend/javascript/shared/plateHelpers.js

Summary

Maintainability
A
35 mins
Test Coverage
import buildArray from './buildArray.js'

const buildPlateObjs = function (number) {
  return buildArray(number, (iteration) => {
    return { state: 'empty', plate: null, index: iteration }
  })
}

export default buildPlateObjs