Middle
Tell us about your experience with design and testing at your previous job.
sobes.tech AI
Answer from AI
At my previous job, I actively participated in designing user interfaces, working closely with UX designers to create user-friendly and intuitive components. I used both unit tests (Jest, React Testing Library) and integration tests, as well as end-to-end testing with Cypress. This helped identify errors early and ensure the stability of the application.
Example of a React unit test using Jest:
import { render, screen } from '@testing-library/react';
import Button from './Button';
test('renders a button with text', () => {
render(<Button>Click me</Button>);
expect(screen.getByText('Click me')).toBeInTheDocument();
});