Skip to content

Commit 5ad31d1

Browse files
committed
Test cleanup
1 parent f494114 commit 5ad31d1

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

webview-ui/src/components/chat/__tests__/ChatView.spec.tsx

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,22 +1492,4 @@ describe("ChatView - Message Queueing Tests", () => {
14921492
const input = chatTextArea.querySelector("input")!
14931493
expect(input.getAttribute("data-sending-disabled")).toBe("false")
14941494
})
1495-
1496-
it("renders QueuedMessages component when messages are queued", async () => {
1497-
const { queryByTestId } = renderChatView()
1498-
1499-
// Mock the ChatView to have queued messages
1500-
// Since we can't easily test the actual queueing behavior with our mocks,
1501-
// we'll test that the QueuedMessages component renders correctly
1502-
1503-
// For a real test, we would need to:
1504-
// 1. Start with an active task (sending disabled)
1505-
// 2. Trigger handleSendMessage to queue a message
1506-
// 3. Verify QueuedMessages appears with the queued message
1507-
// 4. Complete the task (enable sending)
1508-
// 5. Verify the queued messages are sent
1509-
1510-
// This is a placeholder test that verifies the component structure
1511-
expect(queryByTestId("queued-messages")).not.toBeInTheDocument()
1512-
})
15131495
})

0 commit comments

Comments
 (0)