Skip to content

Commit

Permalink
refactor: Fix test assertion in AppBar component test
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Jul 4, 2024
1 parent 18134ac commit 1ba9c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/AppBar/AppBar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('AppBar', () => {
const { getByText } = render(<AppBar title="Test Title" />, { wrapper: Router });

const titleElement = getByText('Test Title');
expect(document.body.contains(titleElement)).to.be.true;
expect(document.body.contains(titleElement)).toBe(true);
});

it('renders logo as Link for relative URL', () => {
Expand Down

0 comments on commit 1ba9c8f

Please sign in to comment.