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

@@ -1269,6 +1269,7 @@ async function getUnreadByConversationAndMarkRead(options: {
conversationId: string;
isGroup?: boolean;
newestUnreadAt: number;
now?: number;
readAt?: number;
storyId?: UUIDStringType;
}): Promise<GetUnreadByConversationAndMarkReadResultType> {