getUnreadByConversationAndMarkRead: Take 'now' param for reliable tests

This commit is contained in:
Scott Nonnenberg
2022-09-22 16:49:06 -07:00
committed by GitHub
parent 77bf3a8669
commit a7253be213
4 changed files with 9 additions and 3 deletions

View File

@@ -465,6 +465,7 @@ export type DataInterface = {
conversationId: string;
isGroup?: boolean;
newestUnreadAt: number;
now?: number;
readAt?: number;
storyId?: UUIDStringType;
}) => Promise<GetUnreadByConversationAndMarkReadResultType>;