Fixed tab naming to correspond to the web client. (#1780)

This commit is contained in:
Bob Dickinson 2026-07-25 17:11:52 -07:00 • committed by GitHub
commit d009fcca09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,7 @@ describe("NotificationsTab", () => {
<NotificationsTab stderrLogs={[]} width={80} height={20} />,
);
const frame = lastFrame() ?? "";
expect(frame).toContain("Logging (0)");
expect(frame).toContain("Console (0)");
expect(frame).toContain("No stderr output yet");
});
@ -48,7 +48,7 @@ describe("NotificationsTab", () => {
<NotificationsTab stderrLogs={logs} width={80} height={20} />,
);
const frame = lastFrame() ?? "";
expect(frame).toContain("Logging (2)");
expect(frame).toContain("Console (2)");
expect(frame).toContain("first error");
expect(frame).toContain("second error");
expect(frame).not.toContain("No stderr output yet");
@ -134,7 +134,7 @@ describe("NotificationsTab", () => {
const { lastFrame, stdin } = render(
<NotificationsTab stderrLogs={logs} width={80} height={20} focused />,
);
expect(lastFrame() ?? "").toContain("Logging (2)");
expect(lastFrame() ?? "").toContain("Console (2)");
// Drive every useInput branch
stdin.write(UP);