box-ui-elements-mlh
Version:
15 lines (13 loc) • 538 B
JavaScript
import * as React from 'react';
import { shallow } from 'enzyme';
import TranscriptRow from '../TranscriptRow';
describe('elements/content-sidebar/Skills/Transcript/TranscriptRow', () => {
test('should correctly render read when editing', () => {
const wrapper = shallow(<TranscriptRow isEditing />);
expect(wrapper).toMatchSnapshot();
});
test('should correctly render read when not editing', () => {
const wrapper = shallow(<TranscriptRow />);
expect(wrapper).toMatchSnapshot();
});
});