commandLine.spec.tsx 362 B

1234567891011
  1. import {mountWithTheme} from 'sentry-test/enzyme';
  2. import CommandLine from 'app/components/commandLine';
  3. describe('CommandLine', () => {
  4. it('renders', () => {
  5. const children = 'sentry devserver --workers';
  6. const wrapper = mountWithTheme(<CommandLine>{children}</CommandLine>);
  7. expect(wrapper.find('CommandLine').text()).toBe(children);
  8. });
  9. });