mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-15 02:49:33 +01:00
fix: apply the review items for #678 at merge
docs: document the SSE connect timeout next to the staleness watchdog in src/web/CLAUDE.md and docs/architecture-invariants.md (clear order, replaced-EventSource guards, offline handler leaves the timer) test: rename the offline case to "connectSSE() while offline cancels the pending timer" so it names the path it drives Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
886bf9fa0b
commit
f4f9001a4b
3 files changed
+4
-2
No files matched your search
@@ -194,7 +194,7 @@ describe('SSE connect timeout', () => {
|
||||
expect(app.reconnectAttempts).toBe(1);
|
||||
});
|
||||
|
||||
it('going offline cancels the pending timer (the online event reconnects)', () => {
|
||||
it('connectSSE() while offline cancels the pending timer (the online event reconnects)', () => {
|
||||
const app = makeApp();
|
||||
app.connectSSE();
|
||||
navigatorStub.onLine = false;
|
||||
|
||||
Reference in new issue
Block a user