Skip to content

Commit

Permalink
chore(docs): Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccaalpert committed Oct 21, 2024
1 parent 845360a commit fd962b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/module/src/LoadingMessage/LoadingMessage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(<LoadingMessage />);
expect(container).toMatchSnapshot();
});
it('should render children', () => {
it('should render loading message correctly', () => {
render(<LoadingMessage />);
expect(screen.getByTestId('assistant-loading-dots')).toBeTruthy();
});
Expand Down
Original file line number Diff line number Diff line change
@@ -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`] = `
<div>
<div
class="pf-v6-l-split"
Expand Down
2 changes: 1 addition & 1 deletion packages/module/src/Message/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export interface MessageProps extends Omit<React.HTMLProps<HTMLDivElement>, '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;
Expand Down

0 comments on commit fd962b4

Please sign in to comment.