diff --git a/src/components/chat-transcript.test.tsx b/src/components/chat-transcript.test.tsx index 9a40f58..84c1243 100644 --- a/src/components/chat-transcript.test.tsx +++ b/src/components/chat-transcript.test.tsx @@ -37,7 +37,6 @@ describe("test chat transcript component", () => { expect(speaker).toHaveTextContent(chatTranscript.messages[index].speaker); const content = within(message).getByTestId("chat-message-content"); - expect(content).toHaveAttribute("aria-label", "message"); expect(content).toHaveTextContent(chatTranscript.messages[index].content); }); }); diff --git a/src/components/chat-transcript.tsx b/src/components/chat-transcript.tsx index 737a338..f7da8f5 100644 --- a/src/components/chat-transcript.tsx +++ b/src/components/chat-transcript.tsx @@ -48,7 +48,6 @@ export const ChatTranscriptComponent = observer(({chatTranscript}: IProps) => { {message.speaker}