chore: checkpoint Boss app v2.5.11
This commit is contained in:
@@ -26,6 +26,21 @@ test("events route enriches project conversation events with a visible home item
|
||||
);
|
||||
});
|
||||
|
||||
test("events route coalesces enriched payload building across realtime clients", async () => {
|
||||
const source = await readSource("../src/app/api/v1/events/route.ts");
|
||||
|
||||
assert.match(
|
||||
source,
|
||||
/getSharedEventPayload/,
|
||||
"expected realtime event route to share one enriched payload build across concurrent SSE clients",
|
||||
);
|
||||
assert.match(
|
||||
source,
|
||||
/sharedEventPayloads/,
|
||||
"expected realtime event route to keep a short-lived shared payload cache",
|
||||
);
|
||||
});
|
||||
|
||||
test("MainActivity applies realtime conversation patches without forcing a network refresh", async () => {
|
||||
const [mainActivity, mapper] = await Promise.all([
|
||||
readSource("../android/app/src/main/java/com/hyzq/boss/MainActivity.java"),
|
||||
|
||||
Reference in New Issue
Block a user