Skip to content

Commit

Permalink
checking the frontend workflow unit test after fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
prishavall committed Mar 9, 2024
1 parent 5c91125 commit 1190f83
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions frontend/src/__tests__/common/components/TitleText.test.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import '@testing-library/jest-dom'
import { render, screen } from '@testing-library/react'
import TitleText from '@/common/components/TitleText'
import '@testing-library/jest-dom';
import { render, screen } from '@testing-library/react';
import TitleText from '@/common/components/TitleText';

describe('Page', () => {
it('renders a heading', () => {
render(<TitleText text="Test Title Text"/>)
render(<TitleText text="Test Title Text"/>);

const heading = screen.getByRole('heading', { level: 2 })
const heading = screen.getByRole('heading', { level: 2 });

expect(heading).toBeInTheDocument()
})
})
expect(heading).toBeInTheDocument();
});
});

0 comments on commit 1190f83

Please sign in to comment.