import {render, screen} from 'sentry-test/reactTestingLibrary'; import CommandLine from 'sentry/components/commandLine'; describe('CommandLine', () => { it('renders', () => { const children = 'sentry devserver --workers'; render({children}); expect(screen.getByText(children)).toBeInTheDocument(); }); });