mirror of https://github.com/grafana/grafana
Chore: Replace enzyme with RTL in BigValue.test.tsx (#45650)
parent
636af1fff4
commit
2f63d7b1c4
@ -1,54 +0,0 @@ |
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP |
||||
|
||||
exports[`BigValue Render with basic options should render 1`] = ` |
||||
<div |
||||
style={ |
||||
Object { |
||||
"alignItems": "center", |
||||
"background": "linear-gradient(120deg, rgb(179, 24, 0), rgb(230, 0, 31))", |
||||
"borderRadius": "3px", |
||||
"display": "flex", |
||||
"flexDirection": "row", |
||||
"height": "300px", |
||||
"padding": "12px", |
||||
"position": "relative", |
||||
"width": "300px", |
||||
} |
||||
} |
||||
> |
||||
<div |
||||
style={ |
||||
Object { |
||||
"alignItems": "center", |
||||
"display": "flex", |
||||
"flexDirection": "column", |
||||
"flexGrow": 1, |
||||
"justifyContent": "center", |
||||
} |
||||
} |
||||
> |
||||
<FormattedDisplayValue |
||||
style={ |
||||
Object { |
||||
"color": "rgb(247, 248, 250)", |
||||
"fontSize": 230, |
||||
"fontWeight": 500, |
||||
"lineHeight": 1.2, |
||||
"position": "relative", |
||||
"textAlign": "center", |
||||
"zIndex": 1, |
||||
} |
||||
} |
||||
value={ |
||||
Object { |
||||
"color": "red", |
||||
"numeric": 25, |
||||
"text": "25", |
||||
"titleToAlignTo": undefined, |
||||
"valueToAlignTo": "25", |
||||
} |
||||
} |
||||
/> |
||||
</div> |
||||
</div> |
||||
`; |
Loading…
Reference in new issue