Skip to content

Commit

Permalink
Remove mocks for cases timelines integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Esteban Beltran committed Mar 7, 2022
1 parent 61114bc commit f50d9aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,4 @@ export const mockTimelines = {
onBlur: jest.fn(),
onKeyDown: jest.fn(),
}),
getAddToCasePopover: jest
.fn()
.mockReturnValue(<div data-test-subj="add-to-case-action">{'Add to case'}</div>),
getAddToCaseAction: jest.fn(),
getAddToExistingCaseButton: jest.fn().mockReturnValue(
<div key="add-to-existing-case-action" data-test-subj="add-to-existing-case-action">
{'Add to existing case'}
</div>
),
getAddToNewCaseButton: jest.fn().mockReturnValue(
<div key="add-to-new-case-action" data-test-subj="add-to-new-case-action">
{'Add to new case'}
</div>
),
};
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ jest.mock('../../../../common/lib/kibana', () => {
onBlur: jest.fn(),
onKeyDown: jest.fn(),
}),
getAddToCasePopover: jest
.fn()
.mockReturnValue(<div data-test-subj="add-to-case-action">{'Add to case'}</div>),
getAddToCaseAction: jest.fn(),
},
},
}),
Expand Down

0 comments on commit f50d9aa

Please sign in to comment.