(OptLabelName, groupLabel)
| 114 | it('should support fieldName', () => { |
| 115 | // groupLabel > fieldNames > self-label |
| 116 | function genOpts(OptLabelName, groupLabel) { |
| 117 | return [ |
| 118 | { |
| 119 | [groupLabel]: 'groupLabel', |
| 120 | options: [ |
| 121 | { |
| 122 | value: 'value', |
| 123 | [OptLabelName]: 'label', |
| 124 | }, |
| 125 | ], |
| 126 | }, |
| 127 | ]; |
| 128 | } |
| 129 | |
| 130 | const { container: containerFirst } = testingRender( |
| 131 | <Select |
no outgoing calls
no test coverage detected
searching dependent graphs…