| 16 | |
| 17 | describe('useLabel hook', () => { |
| 18 | let renderLabelHook = labelProps => { |
| 19 | let {result} = renderHook(() => useLabel(labelProps)); |
| 20 | return result.current; |
| 21 | }; |
| 22 | |
| 23 | it('should return props for visible label', () => { |
| 24 | let {labelProps, fieldProps} = renderLabelHook({label: 'Test'}); |
no test coverage detected