commandLine.spec.tsx 351 B

1234567891011
  1. import {render, screen} from 'sentry-test/reactTestingLibrary';
  2. import CommandLine from 'sentry/components/commandLine';
  3. describe('CommandLine', () => {
  4. it('renders', () => {
  5. const children = 'sentry devserver --workers';
  6. render(<CommandLine>{children}</CommandLine>);
  7. expect(screen.getByText(children)).toBeInTheDocument();
  8. });
  9. });