Skip to content

Conversation

@Emin14
Copy link
Collaborator

@Emin14 Emin14 commented Nov 19, 2025

No description provided.

@Emin14 Emin14 added review the task is currently being reviewed feature New functionality or improvements labels Nov 19, 2025
test('renders accordion with required props', () => {
render();

expect(screen.getByTestId(AccordionTestIds.accordion)).toBeInTheDocument();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Предлагаю вот эти проверки на наличие элементов разделить и дополнить доп проверки
Например в отдельный тест вынести

expect(screen.getByTestId(AccordionTestIds.title)).toBeInTheDocument();

И дополнительно сделать проверку на variant в зависимости от isMobile, на наличие класса

И также с теми элементами, на которые можно написать тест помимо обычного наличия

@PerelomaDenis PerelomaDenis added comments Code improvements are required and removed review the task is currently being reviewed labels Nov 21, 2025
@Emin14 Emin14 added review the task is currently being reviewed and removed comments Code improvements are required labels Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New functionality or improvements review the task is currently being reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants