import { render, screen } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import React from 'react'; import { Button } from './button'; const onClick = jest.fn(); describe('Button', () => { it("should have the role 'button' and the correct text", () => { render(