2020-11-13 07:41:20 -06:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<AnnotateArea/> should render correctly 1`] = `
|
2020-11-26 03:27:18 -06:00
|
|
|
<AnnotateArea
|
|
|
|
annotateAreaDimensions={
|
2020-11-13 07:41:20 -06:00
|
|
|
Object {
|
2020-11-26 03:27:18 -06:00
|
|
|
"height": 800,
|
|
|
|
"width": 800,
|
2020-11-13 07:41:20 -06:00
|
|
|
}
|
|
|
|
}
|
2020-11-26 03:27:18 -06:00
|
|
|
chosenTool="PEN"
|
|
|
|
highlightColor="rgba(233, 0, 0, 0.64)"
|
|
|
|
imageDimensions={
|
|
|
|
Object {
|
|
|
|
"height": 800,
|
|
|
|
"width": 800,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
onChange={[MockFunction]}
|
|
|
|
paths={Array []}
|
|
|
|
penColor="rgba(38, 196, 58, 1)"
|
|
|
|
screenSnippetPath="very-nice-path"
|
2020-11-13 07:41:20 -06:00
|
|
|
>
|
2020-11-26 03:27:18 -06:00
|
|
|
<div
|
|
|
|
id="annotate-wrapper"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"height": 800,
|
|
|
|
"width": 800,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
data-testid="annotate-area"
|
|
|
|
height={800}
|
|
|
|
id="annotate-area"
|
|
|
|
onMouseDown={[Function]}
|
|
|
|
onMouseLeave={[Function]}
|
|
|
|
onMouseMove={[Function]}
|
|
|
|
onMouseUp={[Function]}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"cursor": "crosshair",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
width={800}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</AnnotateArea>
|
2020-11-13 07:41:20 -06:00
|
|
|
`;
|