Skip to content

Commit f335bc4

Browse files
fix: fix lint errors
1 parent 3105e15 commit f335bc4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/learning-header/AuthenticatedUserDropdown.test.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('AuthenticatedUserDropdown', () => {
1414

1515
const renderComponent = () => {
1616
render(
17-
<AuthenticatedUserDropdown username={username} />
17+
<AuthenticatedUserDropdown username={username} />,
1818
);
1919
};
2020

@@ -27,7 +27,6 @@ describe('AuthenticatedUserDropdown', () => {
2727
it('renders dropdown items after toggle click', async () => {
2828
renderComponent();
2929

30-
// 🔽 ВИПРАВЛЕННЯ 1 🔽
3130
const toggleButton = screen.getByRole('button', { name: 'User Options' });
3231
await fireEvent.click(toggleButton);
3332

@@ -43,7 +42,6 @@ describe('AuthenticatedUserDropdown', () => {
4342
it('loops focus from last to first and vice versa with Tab and Shift+Tab', async () => {
4443
renderComponent();
4544

46-
// 🔽 ВИПРАВЛЕННЯ 2 🔽
4745
const toggleButton = screen.getByRole('button', { name: 'User Options' });
4846
await fireEvent.click(toggleButton);
4947

@@ -67,7 +65,6 @@ describe('AuthenticatedUserDropdown', () => {
6765
it('focuses next link when Tab is pressed on middle item', async () => {
6866
renderComponent();
6967

70-
// 🔽 ВИПРАВЛЕННЯ 3 🔽
7168
const toggleButton = screen.getByRole('button', { name: 'User Options' });
7269
await fireEvent.click(toggleButton);
7370

0 commit comments

Comments
 (0)