summaryrefslogtreecommitdiffstats
path: root/test/generic-components/graph/ForceDirectedGraph.test.js
blob: d73a6cccdba169bd40cfab9bed81ddf6df00cacb (plain)
1
2
3
4
5
6
7
8
9
10
11
import React from 'react';
import ForceDirectedGraph from 'generic-components/graph/ForceDirectedGraph.jsx';
import {shallow} from 'enzyme';

describe('ForceDirectedGraph component', () => {
  it('should be rendered', () => {
    const component = shallow(<ForceDirectedGraph dataOverlayButtons="Test"/>);

    expect(component).toHaveLength(1);
  });
});