Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Jun 28, 2022
1 parent 39d47d7 commit d8b250f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x-pack/plugins/cases/public/components/user_actions/mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

import { Actions } from '../../../common/api';
import { SECURITY_SOLUTION_OWNER } from '../../../common/constants';
import { AttachmentTypeRegistry } from '../../client/attachment_framework/registry';
import { ExternalReferenceAttachmentType } from '../../client/attachment_framework/types';
import { basicCase, basicPush, getUserAction } from '../../containers/mock';
import { UserActionBuilderArgs } from './types';

Expand Down Expand Up @@ -56,9 +58,12 @@ export const getMockBuilderArgs = (): UserActionBuilderArgs => {
const handleDeleteComment = jest.fn();
const handleManageQuote = jest.fn();
const handleOutlineComment = jest.fn();
const externalReferenceAttachmentTypeRegistry =
new AttachmentTypeRegistry<ExternalReferenceAttachmentType>();

return {
userAction,
externalReferenceAttachmentTypeRegistry,
caseData: basicCase,
comments: basicCase.comments,
caseServices,
Expand Down

0 comments on commit d8b250f

Please sign in to comment.