Skip to content

Commit

Permalink
add snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Jan 11, 2024
1 parent 1c3c656 commit dbf1ebc
Showing 1 changed file with 130 additions and 0 deletions.
130 changes: 130 additions & 0 deletions src/Views/__snapshots__/MapView.test.js.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`renders map component 1`] = `
<div
className="ui container view-wrapper visualization-view"
id="page-document"
>
<div
className="block maps align center"
>
<div
className="maps-inner"
>
<div
className="privacy-protection-wrapper"
style={
Object {
"height": "auto",
"minHeight": "200px",
"overflow": "hidden",
"position": "relative",
}
}
>
<iframe
allowFullScreen={true}
className="google-map"
frameBorder="0"
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3027.7835278268726!2d14.38842915203974!3d40.634655679238854!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x133b994881d943cb%3A0x6ab93db57d3272f0!2sHotel+Mediterraneo+Sorrento!5e0!3m2!1sen!2ses!4v1550168740166"
style={Object {}}
title="Embeded ESRI Maps"
/>
</div>
</div>
<div
className="visualization-toolbar"
>
<div
className="left-col"
>
<div
className="more-info"
>
<a
href="/path/to/map"
>
<span>
More info
</span>
<i
className="ri-external-link-line"
/>
</a>
</div>
</div>
<div
className="right-col"
>
<div
className="popup"
>
<div
className="trigger"
>
<div
className="share"
>
<button
className="trigger-button"
>
<i
className="ri-share-fill"
/>
<span>
Share
</span>
</button>
</div>
</div>
<div
className="content"
>
<div
className="item"
>
<span
className="label"
>
Copy link
</span>
<div
className="control"
>
<div
className="ui input share-link"
>
<input
onChange={[Function]}
type="text"
value="/path/to/map"
/>
</div>
<button
className="ui primary button copy-button copy-button"
onClick={[Function]}
>
Copy
</button>
</div>
</div>
</div>
</div>
<div
className="enlarge"
>
<button
className="trigger-button"
onClick={[Function]}
>
<i
className="ri-fullscreen-line"
/>
Enlarge
</button>
</div>
</div>
</div>
</div>
</div>
`;

0 comments on commit dbf1ebc

Please sign in to comment.