Skip to content

Commit

Permalink
fix jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MiriamAparicio committed Dec 5, 2024
1 parent 9c2af1b commit 0f155cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('Threshold', () => {

expect((Metric as jest.Mock).mock.calls[0][0].data[0][0]).toMatchInlineSnapshot(`
Object {
"color": "#BD271E",
"color": "#f8e9e9",
"extra": <React.Fragment>
Alert when &gt;= 7%
<br />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ interface ExpressionRowProps {
}

const NegativeHorizontalMarginDiv = styled.div`
margin: 0 -${(props) => props.theme.euiTheme.size.xs};
margin: 0 -4px;
`;

const StyledExpression = styled.div`
padding: 0 ${(props) => props.theme.euiTheme.size.xs};
padding: 0 4px;
`;

const StyledHealth = styled(EuiHealth)`
margin-left: ${(props) => props.theme.euiTheme.size.xs};
margin-left: 4px;
`;

export const ExpressionRow = ({
Expand Down

0 comments on commit 0f155cf

Please sign in to comment.