Skip to content

Commit

Permalink
test(annotation/EditableAnnotation): add Partial to wrapper props
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster committed Nov 18, 2020
1 parent 966b848 commit c8149e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/visx-annotation/test/EditableAnnotation.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Annotation, EditableAnnotation } from '../src';
import { EditableAnnotationProps } from '../lib/components/EditableAnnotation';

describe('<EditableAnnotation />', () => {
function setup(props?: EditableAnnotationProps) {
function setup(props?: Partial<EditableAnnotationProps>) {
return shallow(
<EditableAnnotation width={100} height={100} {...props}>
<div />
Expand Down

0 comments on commit c8149e8

Please sign in to comment.