(name)
| 2063 | } |
| 2064 | function getSpecColumns(insight, columns) { |
| 2065 | function getColumnByName(name) { |
| 2066 | return columns.filter((c)=>c.name === name)[0]; |
| 2067 | } |
| 2068 | return { |
| 2069 | color: getColumnByName(insight.columns && insight.columns.color), |
| 2070 | facet: getColumnByName(insight.columns && insight.columns.facet), |
no test coverage detected