import { render, screen } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { Terminal } from '.'; describe(Terminal, () => { it('generates correct copyCmd from single command', async () => { render( <>