Skip to content

Commit

Permalink
snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
sdevalapurkar committed Jul 24, 2021
1 parent d181354 commit 83030db
Show file tree
Hide file tree
Showing 10 changed files with 260 additions and 30 deletions.
14 changes: 14 additions & 0 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

61 changes: 53 additions & 8 deletions app/src/components/map/__snapshots__/MapContainer.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ exports[`MapContainer matches the snapshot with draw controls hidden 1`] = `
</a>
</div>
<div
class="leaflet-control-fullscreen leaflet-bar leaflet-control"
>
<a
class="leaflet-control-fullscreen-button leaflet-bar-part"
href="#"
title="View Fullscreen"
/>
</div>
</div>
<div
class="leaflet-top leaflet-right"
Expand Down Expand Up @@ -111,7 +120,7 @@ exports[`MapContainer matches the snapshot with draw controls hidden 1`] = `
<input
checked="checked"
class="leaflet-control-layers-selector"
name="leaflet-base-layers_119"
name="leaflet-base-layers_123"
type="radio"
/>
<span>
Expand All @@ -123,7 +132,7 @@ exports[`MapContainer matches the snapshot with draw controls hidden 1`] = `
<div>
<input
class="leaflet-control-layers-selector"
name="leaflet-base-layers_119"
name="leaflet-base-layers_123"
type="radio"
/>
<span>
Expand Down Expand Up @@ -278,6 +287,15 @@ exports[`MapContainer matches the snapshot with feature popup 1`] = `
</a>
</div>
<div
class="leaflet-control-fullscreen leaflet-bar leaflet-control"
>
<a
class="leaflet-control-fullscreen-button leaflet-bar-part"
href="#"
title="View Fullscreen"
/>
</div>
</div>
<div
class="leaflet-top leaflet-right"
Expand Down Expand Up @@ -412,7 +430,7 @@ exports[`MapContainer matches the snapshot with feature popup 1`] = `
<input
checked="checked"
class="leaflet-control-layers-selector"
name="leaflet-base-layers_105"
name="leaflet-base-layers_108"
type="radio"
/>
<span>
Expand All @@ -424,7 +442,7 @@ exports[`MapContainer matches the snapshot with feature popup 1`] = `
<div>
<input
class="leaflet-control-layers-selector"
name="leaflet-base-layers_105"
name="leaflet-base-layers_108"
type="radio"
/>
<span>
Expand Down Expand Up @@ -564,6 +582,15 @@ exports[`MapContainer matches the snapshot with geometries being passed in 1`] =
</a>
</div>
<div
class="leaflet-control-fullscreen leaflet-bar leaflet-control"
>
<a
class="leaflet-control-fullscreen-button leaflet-bar-part"
href="#"
title="View Fullscreen"
/>
</div>
</div>
<div
class="leaflet-top leaflet-right"
Expand Down Expand Up @@ -865,6 +892,15 @@ exports[`MapContainer matches the snapshot with non editable geos being passed i
</a>
</div>
<div
class="leaflet-control-fullscreen leaflet-bar leaflet-control"
>
<a
class="leaflet-control-fullscreen-button leaflet-bar-part"
href="#"
title="View Fullscreen"
/>
</div>
</div>
<div
class="leaflet-top leaflet-right"
Expand Down Expand Up @@ -999,7 +1035,7 @@ exports[`MapContainer matches the snapshot with non editable geos being passed i
<input
checked="checked"
class="leaflet-control-layers-selector"
name="leaflet-base-layers_77"
name="leaflet-base-layers_79"
type="radio"
/>
<span>
Expand All @@ -1011,7 +1047,7 @@ exports[`MapContainer matches the snapshot with non editable geos being passed i
<div>
<input
class="leaflet-control-layers-selector"
name="leaflet-base-layers_77"
name="leaflet-base-layers_79"
type="radio"
/>
<span>
Expand Down Expand Up @@ -1151,6 +1187,15 @@ exports[`MapContainer sets the bounds of the geo being passed in successfully 1`
</a>
</div>
<div
class="leaflet-control-fullscreen leaflet-bar leaflet-control"
>
<a
class="leaflet-control-fullscreen-button leaflet-bar-part"
href="#"
title="View Fullscreen"
/>
</div>
</div>
<div
class="leaflet-top leaflet-right"
Expand Down Expand Up @@ -1285,7 +1330,7 @@ exports[`MapContainer sets the bounds of the geo being passed in successfully 1`
<input
checked="checked"
class="leaflet-control-layers-selector"
name="leaflet-base-layers_184"
name="leaflet-base-layers_190"
type="radio"
/>
<span>
Expand All @@ -1297,7 +1342,7 @@ exports[`MapContainer sets the bounds of the geo being passed in successfully 1`
<div>
<input
class="leaflet-control-layers-selector"
name="leaflet-base-layers_184"
name="leaflet-base-layers_190"
type="radio"
/>
<span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,15 @@ exports[`ProjectLocationForm displays the uploaded geo on the map when the spati
</a>
</div>
<div
class="leaflet-control-fullscreen leaflet-bar leaflet-control"
>
<a
class="leaflet-control-fullscreen-button leaflet-bar-part"
href="#"
title="View Fullscreen"
/>
</div>
</div>
<div
class="leaflet-top leaflet-right"
Expand Down Expand Up @@ -529,7 +538,7 @@ exports[`ProjectLocationForm displays the uploaded geo on the map when the spati
<input
checked="checked"
class="leaflet-control-layers-selector"
name="leaflet-base-layers_135"
name="leaflet-base-layers_140"
type="radio"
/>
<span>
Expand All @@ -541,7 +550,7 @@ exports[`ProjectLocationForm displays the uploaded geo on the map when the spati
<div>
<input
class="leaflet-control-layers-selector"
name="leaflet-base-layers_135"
name="leaflet-base-layers_140"
type="radio"
/>
<span>
Expand Down Expand Up @@ -957,6 +966,15 @@ exports[`ProjectLocationForm renders correctly with default empty values 1`] = `
</a>
</div>
<div
class="leaflet-control-fullscreen leaflet-bar leaflet-control"
>
<a
class="leaflet-control-fullscreen-button leaflet-bar-part"
href="#"
title="View Fullscreen"
/>
</div>
</div>
<div
class="leaflet-top leaflet-right"
Expand Down Expand Up @@ -1543,6 +1561,15 @@ exports[`ProjectLocationForm renders correctly with errors on fields 1`] = `
</a>
</div>
<div
class="leaflet-control-fullscreen leaflet-bar leaflet-control"
>
<a
class="leaflet-control-fullscreen-button leaflet-bar-part"
href="#"
title="View Fullscreen"
/>
</div>
</div>
<div
class="leaflet-top leaflet-right"
Expand Down Expand Up @@ -1677,7 +1704,7 @@ exports[`ProjectLocationForm renders correctly with errors on fields 1`] = `
<input
checked="checked"
class="leaflet-control-layers-selector"
name="leaflet-base-layers_93"
name="leaflet-base-layers_96"
type="radio"
/>
<span>
Expand All @@ -1689,7 +1716,7 @@ exports[`ProjectLocationForm renders correctly with errors on fields 1`] = `
<div>
<input
class="leaflet-control-layers-selector"
name="leaflet-base-layers_93"
name="leaflet-base-layers_96"
type="radio"
/>
<span>
Expand Down Expand Up @@ -2122,6 +2149,15 @@ exports[`ProjectLocationForm renders correctly with existing location values 1`]
</a>
</div>
<div
class="leaflet-control-fullscreen leaflet-bar leaflet-control"
>
<a
class="leaflet-control-fullscreen-button leaflet-bar-part"
href="#"
title="View Fullscreen"
/>
</div>
</div>
<div
class="leaflet-top leaflet-right"
Expand Down Expand Up @@ -2256,7 +2292,7 @@ exports[`ProjectLocationForm renders correctly with existing location values 1`]
<input
checked="checked"
class="leaflet-control-layers-selector"
name="leaflet-base-layers_69"
name="leaflet-base-layers_71"
type="radio"
/>
<span>
Expand All @@ -2268,7 +2304,7 @@ exports[`ProjectLocationForm renders correctly with existing location values 1`]
<div>
<input
class="leaflet-control-layers-selector"
name="leaflet-base-layers_69"
name="leaflet-base-layers_71"
type="radio"
/>
<span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,15 @@ exports[`ProjectDetails renders correctly 1`] = `
</a>
</div>
<div
class="leaflet-control-fullscreen leaflet-bar leaflet-control"
>
<a
class="leaflet-control-fullscreen-button leaflet-bar-part"
href="#"
title="View Fullscreen"
/>
</div>
</div>
<div
class="leaflet-top leaflet-right"
Expand Down
Loading

0 comments on commit 83030db

Please sign in to comment.