From fd962b44a0c4119b5858c1de4c63841ce5b44493 Mon Sep 17 00:00:00 2001 From: Rebecca Alpert Date: Mon, 21 Oct 2024 14:01:45 -0400 Subject: [PATCH] chore(docs): Fix typos --- packages/module/src/LoadingMessage/LoadingMessage.test.tsx | 4 ++-- .../LoadingMessage/__snapshots__/LoadingMessage.test.tsx.snap | 2 +- packages/module/src/Message/Message.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/module/src/LoadingMessage/LoadingMessage.test.tsx b/packages/module/src/LoadingMessage/LoadingMessage.test.tsx index 25ec002..a8c84c7 100644 --- a/packages/module/src/LoadingMessage/LoadingMessage.test.tsx +++ b/packages/module/src/LoadingMessage/LoadingMessage.test.tsx @@ -4,11 +4,11 @@ import '@testing-library/jest-dom'; import LoadingMessage from './LoadingMessage'; describe('LoadingMessage', () => { - it('should render file drop zone', () => { + it('should render loading message', () => { const { container } = render(); expect(container).toMatchSnapshot(); }); - it('should render children', () => { + it('should render loading message correctly', () => { render(); expect(screen.getByTestId('assistant-loading-dots')).toBeTruthy(); }); diff --git a/packages/module/src/LoadingMessage/__snapshots__/LoadingMessage.test.tsx.snap b/packages/module/src/LoadingMessage/__snapshots__/LoadingMessage.test.tsx.snap index c9cb10e..cd39c3c 100644 --- a/packages/module/src/LoadingMessage/__snapshots__/LoadingMessage.test.tsx.snap +++ b/packages/module/src/LoadingMessage/__snapshots__/LoadingMessage.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`LoadingMessage should render file drop zone 1`] = ` +exports[`LoadingMessage should render loading message 1`] = `
, 'rol }; /** Sources for message */ sources?: SourcesCardProps; - /** Label for the English word "AI", used to tag messages with role "bot" */ + /** Label for the English word "AI," used to tag messages with role "bot" */ botWord?: string; /** Label for the English "Loading message," displayed to screenreaders when loading a message */ loadingWord?: string;