getUnreadByConversationAndMarkRead: Take 'now' param for reliable tests
This commit is contained in:
parent
77bf3a8669
commit
a7253be213
4 changed files with 9 additions and 3 deletions
|
@ -1269,6 +1269,7 @@ async function getUnreadByConversationAndMarkRead(options: {
|
|||
conversationId: string;
|
||||
isGroup?: boolean;
|
||||
newestUnreadAt: number;
|
||||
now?: number;
|
||||
readAt?: number;
|
||||
storyId?: UUIDStringType;
|
||||
}): Promise<GetUnreadByConversationAndMarkReadResultType> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue