Skip to content

Commit

Permalink
Merge pull request #5 from tiansivive/siem-ea-8084-risk-summary
Browse files Browse the repository at this point in the history
Adapt risk summary to both entity flyouts
  • Loading branch information
machadoum authored Jan 2, 2024
2 parents a46a57e + 9b10b2e commit 034cca0
Show file tree
Hide file tree
Showing 5 changed files with 242 additions and 196 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* 2.0.
*/

import { RiskScoreEntity } from '../../../../common/entity_analytics/risk_engine/types';
import { render } from '@testing-library/react';
import React from 'react';
import { TestProviders } from '../../../common/mock';
Expand All @@ -21,6 +22,7 @@ describe('RiskSummary', () => {
riskScoreData={mockRiskScoreState}
queryId={'testQuery'}
openDetailsPanel={() => {}}
entity={RiskScoreEntity.user}
/>
</TestProviders>
);
Expand All @@ -37,6 +39,7 @@ describe('RiskSummary', () => {
riskScoreData={{ ...mockRiskScoreState, data: undefined }}
queryId={'testQuery'}
openDetailsPanel={() => {}}
entity={RiskScoreEntity.user}
/>
</TestProviders>
);
Expand All @@ -50,6 +53,7 @@ describe('RiskSummary', () => {
riskScoreData={mockRiskScoreState}
queryId={'testQuery'}
openDetailsPanel={() => {}}
entity={RiskScoreEntity.user}
/>
</TestProviders>
);
Expand All @@ -64,6 +68,7 @@ describe('RiskSummary', () => {
riskScoreData={mockRiskScoreState}
queryId={'testQuery'}
openDetailsPanel={() => {}}
entity={RiskScoreEntity.user}
/>
</TestProviders>
);
Expand Down
Loading

0 comments on commit 034cca0

Please sign in to comment.