Skip to content

Commit 0c54bd5

Browse files
saphidclaude
andcommitted
test(client): drop reconnecting cases the phase tables already cover
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 194d18d commit 0c54bd5

2 files changed

Lines changed: 0 additions & 24 deletions

File tree

‎apps/mobile/src/features/threads/threadListV2.test.ts‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -137,21 +137,6 @@ describe("resolveThreadListV2Status", () => {
137137
},
138138
);
139139

140-
it("does not claim live work while the environment is reconnecting", () => {
141-
const thread = {
142-
...presentThreadShell(
143-
environmentId,
144-
makeRawThreadShell({
145-
status: "running",
146-
activeRunId: RunId.make("run-disconnected"),
147-
latestRunId: RunId.make("run-disconnected"),
148-
}),
149-
),
150-
connectionPhase: "reconnecting" as const,
151-
};
152-
expect(resolveThreadListV2Status(thread)).toBe("reconnecting");
153-
});
154-
155140
it.each([
156141
["connecting", "connecting"],
157142
["reconnecting", "reconnecting"],

‎apps/web/src/components/Sidebar.logic.test.ts‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -442,15 +442,6 @@ describe("resolveThreadStatusPill", () => {
442442
},
443443
};
444444

445-
it("does not claim live work while the environment is reconnecting", () => {
446-
const thread = { ...baseThread, connectionPhase: "reconnecting" as const };
447-
expect(resolveSidebarThreadStatus(thread)).toBe("reconnecting");
448-
expect(resolveThreadStatusPill({ thread })).toMatchObject({
449-
label: "Reconnecting",
450-
pulse: false,
451-
});
452-
});
453-
454445
it.each([
455446
["connecting", "connecting", "Connecting"],
456447
["reconnecting", "reconnecting", "Reconnecting"],

0 commit comments

Comments
 (0)