File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments