Skip to content

Commit

Permalink
space refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcav21 committed Oct 11, 2023
1 parent 538ac67 commit 2351341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions malty/atoms/Headline/Headline.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ const testId = 'headline';

describe('Headline component', () => {
it('should render with the correct text', () => {
render(<Headline>{text} </Headline>);
render(<Headline>{text}</Headline>);

const rendered = screen.getByText(text);

expect(rendered).toBeInTheDocument();
});

it('should have the assigned data test id', () => {
render(<Headline dataTestId={testId}>{text} </Headline>);
render(<Headline dataTestId={testId}>{text}</Headline>);

const rendered = screen.getByTestId(testId);

Expand Down

0 comments on commit 2351341

Please sign in to comment.