grafana/public/app/features/teams/CreateTeam.test.tsx

15 lines
346 B
TypeScript
Raw Normal View History

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();
});
});