123456789101112131415 |
- import { mount } from 'enzyme';
- import React from 'react';
- import Indicator from '../Indicator';
- describe('Indicator', () => {
- it('matches the snapshot', () => {
- const child = 'Child';
- const component = mount(
- <Indicator title="title" label="label">
- {child}
- </Indicator>
- );
- expect(component).toMatchSnapshot();
- });
- });
|