Lighten Android chat realtime refreshes
This commit is contained in:
@@ -11,8 +11,8 @@ test("BossRealtimeClient tracks whether the SSE stream is currently connected",
|
||||
|
||||
assert.match(source, /private volatile boolean connected;/, "expected realtime client to cache connection state");
|
||||
assert.match(source, /boolean isConnected\(\)\s*\{\s*return connected;\s*\}/, "expected realtime client to expose connection state");
|
||||
assert.match(source, /connected = true;/, "expected realtime client to flip connected once the SSE stream is ready");
|
||||
assert.match(source, /connected = false;/, "expected realtime client to clear connected when the stream stops");
|
||||
assert.match(source, /setConnected\(true\);/, "expected realtime client to flip connected once the SSE stream is ready");
|
||||
assert.match(source, /setConnected\(false\);/, "expected realtime client to clear connected when the stream stops");
|
||||
});
|
||||
|
||||
test("MainActivity only performs conversation polling when realtime is unavailable", async () => {
|
||||
|
||||
Reference in New Issue
Block a user