crane-cloud/frontend

View on GitHub
src/components/ClusterCard/ClusterCard.test.js

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import { shallow } from "enzyme";
import ClusterCard from './index';

describe('Test the cluster card component', () => {
    const ClusterCardComponent = shallow(<ClusterCard description="" icon="" name="" />);
    it('checks if the cluster card component matches the snapshot', () => {
        expect(ClusterCardComponent).toMatchSnapshot();
    });
});