Function
makeRow
(
data: Record<string, unknown> = {},
executions: Record<string, RowExecutionMetadata> = {}
)
Source from the content-addressed store, hash-verified
| 20 | } |
| 21 | |
| 22 | function makeRow( |
| 23 | data: Record<string, unknown> = {}, |
| 24 | executions: Record<string, RowExecutionMetadata> = {} |
| 25 | ): TableRow { |
| 26 | return { |
| 27 | id: 'row1', |
| 28 | data: data as TableRow['data'], |
| 29 | executions, |
| 30 | position: 0, |
| 31 | createdAt: new Date(), |
| 32 | updatedAt: new Date(), |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | describe('areGroupDepsSatisfied — checkbox dependency', () => { |
| 37 | const group = makeGroup({ id: 'g1', dependencies: { columns: ['flag'] } }) |
Tested by
no test coverage detected