mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 16:45:43 -06:00
15 lines
346 B
TypeScript
15 lines
346 B
TypeScript
|
import React from 'react';
|
||
|
import { shallow } from 'enzyme';
|
||
|
import { CreateTeam, Props } from './CreateTeam';
|
||
|
|
||
|
describe('Render', () => {
|
||
|
it('should render component', () => {
|
||
|
const props: Props = {
|
||
|
navModel: {} as any,
|
||
|
};
|
||
|
const wrapper = shallow(<CreateTeam {...props} />);
|
||
|
|
||
|
expect(wrapper).toMatchSnapshot();
|
||
|
});
|
||
|
});
|