mirror of https://github.com/grafana/grafana
Convert `FormField` tests to RTL (#49068)
parent
e5925b2e91
commit
bddbed4e21
@ -1,37 +0,0 @@ |
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP |
|
||||||
|
|
||||||
exports[`FormField should render component with custom inputEl 1`] = ` |
|
||||||
<div |
|
||||||
className="css-aq4c43" |
|
||||||
> |
|
||||||
<FormLabel |
|
||||||
width={11} |
|
||||||
> |
|
||||||
Test |
|
||||||
</FormLabel> |
|
||||||
<span> |
|
||||||
Input |
|
||||||
</span> |
|
||||||
<button> |
|
||||||
Ok |
|
||||||
</button> |
|
||||||
</div> |
|
||||||
`; |
|
||||||
|
|
||||||
exports[`FormField should render component with default inputEl 1`] = ` |
|
||||||
<div |
|
||||||
className="css-aq4c43" |
|
||||||
> |
|
||||||
<FormLabel |
|
||||||
width={11} |
|
||||||
> |
|
||||||
Test |
|
||||||
</FormLabel> |
|
||||||
<input |
|
||||||
className="gf-form-input width-12" |
|
||||||
onChange={[MockFunction]} |
|
||||||
type="text" |
|
||||||
value={10} |
|
||||||
/> |
|
||||||
</div> |
|
||||||
`; |
|
||||||
Loading…
Reference in new issue