Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
SiTaggart committed Aug 22, 2023
1 parent 2a18086 commit 58cd0c5
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -26,15 +26,15 @@ const baseConfig = {

describe('ChatComposer', () => {
it('should render with placeholder text', () => {
render(<ChatComposer testid="my-composer" placeholder="Type here.." config={baseConfig} />);
render(<ChatComposer data-testid="my-composer" placeholder="Type here.." config={baseConfig} />);
expect(screen.getByRole('textbox')).toBeDefined();
expect(screen.getByText('Type here..')).toBeDefined();
});

it('should pass props to the content editable', async () => {
render(
<ChatComposer
testid="my-composer"
data-testid="my-composer"
ariaLabel="Feedback"
ariaDescribedBy="foo"
ariaOwns="foo"
Expand Down

0 comments on commit 58cd0c5

Please sign in to comment.