Skip to content

Commit 8172319

Browse files
committed
chore: update interface
1 parent f2be46d commit 8172319

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/uikit-testing-tools/src/mocks/createMockChannel.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import {
33
BannedUserListQuery,
44
ChannelType,
5+
FileUploadResult,
56
MetaCounter,
67
MetaData,
78
MutedInfo,
@@ -24,8 +25,9 @@ import {
2425
OperatorFilter,
2526
ReadStatus,
2627
} from '@sendbird/chat/groupChannel';
27-
import type {
28+
import {
2829
BaseListQueryParams,
30+
DeliveryStatus,
2931
MultipleFilesMessageCreateParams,
3032
MultipleFilesMessageRequestHandler,
3133
PinnedMessageListQuery,
@@ -509,6 +511,9 @@ class MockChannel implements GetMockProps<Params, SendbirdBaseChannel & Sendbird
509511
getTypingUsers(): SendbirdMember[] {
510512
return [];
511513
}
514+
getDeliveryStatus(): { [p: string]: DeliveryStatus } {
515+
return {};
516+
}
512517

513518
getUndeliveredMemberCount = jest.fn(() => 0);
514519

@@ -638,4 +643,7 @@ class MockChannel implements GetMockProps<Params, SendbirdBaseChannel & Sendbird
638643
sendMultipleFilesMessage(_params: MultipleFilesMessageCreateParams): MultipleFilesMessageRequestHandler {
639644
throw new Error('Method not implemented.');
640645
}
646+
uploadFile(): Promise<FileUploadResult> {
647+
throw new Error('Method not implemented.');
648+
}
641649
}

0 commit comments

Comments
 (0)