ManageIQ/manageiq-ui-classic

View on GitHub
app/javascript/spec/container-projects/container-projects.spec.js

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import toJson from 'enzyme-to-json';
import { shallow } from 'enzyme';
import ContainerProjects from '../../components/container-projects';

describe('Container Project component', () => {
  it('should render the dashboard', () => {
    const wrapper = shallow(<ContainerProjects url="/container_dashboard/project_data" />);
    expect(toJson(wrapper)).toMatchSnapshot();
  });
});