Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fkanout committed Jun 7, 2022
1 parent 2928ce6 commit afc9342
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jest.mock('../../../utils/kibana_react', () => ({
useKibana: jest.fn(() => mockUseKibanaReturnValue),
}));

jest.mock('../../../hooks/use_fetch_rule_actions', () => ({
jest.mock('../../../hooks/use_fetch_rule_action_connectors', () => ({
useFetchRuleActions: jest.fn(),
}));

const { useFetchRuleActions } = jest.requireMock('../../../hooks/use_fetch_rule_actions');
const { useFetchRuleActions } = jest.requireMock('../../../hooks/use_fetch_rule_action_connectors');

describe('Actions', () => {
let wrapper: ReactWrapper<any>;
Expand Down

0 comments on commit afc9342

Please sign in to comment.