(run: Run, groupId: string)
| 3 | import { difference } from 'lodash'; |
| 4 | |
| 5 | export const getSpecsForGroup = (run: Run, groupId: string) => |
| 6 | run.specs.filter((spec) => spec.groupId === groupId); |
| 7 | export const getClaimedSpecs = (run: Run, groupId: string) => |
| 8 | getSpecsForGroup(run, groupId).filter((s) => s.claimedAt); |
| 9 | export const getFirstUnclaimedSpec = (run: Run, groupId: string) => |
no outgoing calls
no test coverage detected