summaryrefslogtreecommitdiffstats
path: root/test/generic-components/graph/Node.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/generic-components/graph/Node.test.js')
-rw-r--r--test/generic-components/graph/Node.test.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/generic-components/graph/Node.test.js b/test/generic-components/graph/Node.test.js
new file mode 100644
index 0000000..ed0c84e
--- /dev/null
+++ b/test/generic-components/graph/Node.test.js
@@ -0,0 +1,11 @@
+import React from 'react';
+import Node from 'generic-components/graph/Node.jsx';
+import {shallow} from 'enzyme';
+
+describe('Node component', () => {
+ it('should be rendered', () => {
+ const component = shallow(<Node/>);
+
+ expect(component).toHaveLength(1);
+ });
+});