Skip to content

Commit 7a47933

Browse files
committed
test(runtime): add focused supervisor runtime coverage
- Split auth, status cache, terminal env, and prompt write tests - Isolate start/close manager tests with temp dirs and disposal - Update app pending launch expectation to launching status
1 parent e0e1883 commit 7a47933

7 files changed

Lines changed: 679 additions & 842 deletions

File tree

src/renderer/app.test.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,10 @@ describe("App", () => {
627627
fireEvent.click(await screen.findByText("open-thread-1"));
628628

629629
await waitFor(() => {
630-
expect(screen.getByTestId("thread-view-thread-1")).toHaveAttribute("data-status", "inactive");
630+
expect(screen.getByTestId("thread-view-thread-1")).toHaveAttribute(
631+
"data-status",
632+
"launching",
633+
);
631634
expect(screen.getByTestId("thread-view-thread-1")).toHaveAttribute("data-pending-launch", "");
632635
});
633636
expect(bridge.startThread).not.toHaveBeenCalled();

0 commit comments

Comments
 (0)