feat(edge): add curve to edge test props

Signed-off-by: andrmaz <60042277+andrmaz@users.noreply.github.com>
This commit is contained in:
andrmaz
2022-10-06 00:46:06 +02:00
parent bde1e8c8e2
commit 58947b5695
@@ -17,10 +17,11 @@
import React from 'react';
import { render } from '@testing-library/react';
import { Edge } from './Edge';
import { RenderLabelProps } from './types';
import { Curve, RenderLabelProps } from './types';
const fromNode = 'node';
const toNode = 'other-node';
const curve: Curve = 'curveMonotoneX';
const edge = {
points: [
@@ -46,6 +47,7 @@ const minProps = {
setEdge,
renderElement,
edge,
curve,
};
const label = 'label';