Skip to content

Commit

Permalink
adapt risk summary to both entity flyouts
Browse files Browse the repository at this point in the history
  • Loading branch information
tiansivive committed Jan 1, 2024
1 parent 5d29c5d commit d3db40e
Show file tree
Hide file tree
Showing 4 changed files with 216 additions and 184 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 d3db40e

Please sign in to comment.