Skip to content

Commit

Permalink
update failing test for action log
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-tavares committed May 3, 2023
1 parent 9969053 commit 098ab0e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ jest.mock('@kbn/kibana-react-plugin/public', () => {

jest.mock('../../../hooks/endpoint/use_get_endpoints_list');

jest.mock('../../../../common/experimental_features_service');

jest.mock('../../../../common/components/user_privileges');
const useUserPrivilegesMock = _useUserPrivileges as jest.Mock;

Expand Down Expand Up @@ -917,6 +915,7 @@ describe('Response actions history', () => {
});

it('should show a list of actions when opened', () => {
mockedContext.setExperimentalFlag({ responseActionUploadEnabled: true });
render();
const { getByTestId, getAllByTestId } = renderResult;

Expand All @@ -934,6 +933,7 @@ describe('Response actions history', () => {
'processes',
'get-file',
'execute',
'upload',
]);
});

Expand Down

0 comments on commit 098ab0e

Please sign in to comment.