commandLine.spec.tsx 390 B

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