mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 02:40:14 +01:00
🧪 ci: Update Test Files & fix ESLint issues
This commit is contained in:
parent
75324e1c7e
commit
74e029e78f
5 changed files with 47 additions and 75 deletions
|
|
@ -503,8 +503,11 @@ describe('Accessibility Improvements', () => {
|
|||
);
|
||||
|
||||
const tab = screen.getByRole('tab');
|
||||
expect(tab.className).toContain('focus:outline-none');
|
||||
expect(tab.className).toContain('focus:bg-gray-100');
|
||||
// Check that the tab has proper ARIA attributes for accessibility
|
||||
expect(tab).toHaveAttribute('aria-selected', 'true');
|
||||
expect(tab).toHaveAttribute('tabIndex', '0');
|
||||
// Check that tab has proper role and can receive focus
|
||||
expect(tab).toHaveAttribute('role', 'tab');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue