Patch folder realtime threads locally
This commit is contained in:
@@ -23,4 +23,14 @@ test("android folder activity refreshes on matching device-scoped conversation u
|
||||
/payloadDeviceId\.equals\(folderDeviceId\)/,
|
||||
"expected folder activity to reload when the event targets its device",
|
||||
);
|
||||
assert.match(
|
||||
source,
|
||||
/tryApplyFolderRealtimePatch\(event\)/,
|
||||
"expected folder activity to try a local thread-row patch before falling back to network reload",
|
||||
);
|
||||
assert.match(
|
||||
source,
|
||||
/threadConversationItem/,
|
||||
"expected folder activity to read the direct thread item patch from realtime payloads",
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user