Skip to content

Commit

Permalink
update the snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Sep 24, 2024
1 parent 52ff1a9 commit 6bccb23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/__snapshots__/RControl.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`<RControl> should render all the RControls 1`] = `"<div style="width: 100px; height: 100px;"><div class="_rlayers_RLayer"></div><div class="_rlayers_RLayer"></div><div class="ol-overviewmap example-overview"><div class="_rlayers_RLayer"></div></div><div class="ol-viewport" style="position: relative; overflow: hidden; width: 100%; height: 100%;"><div style="position: absolute; width: 100%; height: 100%; z-index: 0;" class="ol-unselectable ol-layers"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer-stopevent"><div class="ol-control ol-layers-control" style="pointer-events: auto;"><span><button>=</button></span></div><div style="pointer-events: none;" class="ol-scale-line ol-unselectable"><div class="ol-scale-line-inner"></div></div><div style="pointer-events: auto;" class="ol-attribution ol-unselectable ol-control"><button type="button" aria-expanded="true" title="Attributions"><span class="ol-attribution-collapse">›</span></button><ul></ul></div><div style="pointer-events: auto;" class="ol-zoom ol-unselectable ol-control"><button class="ol-zoom-in" type="button" title="Zoom in">+</button><button class="ol-zoom-out" type="button" title="Zoom out">–</button></div><div style="pointer-events: auto;" class="ol-zoomslider ol-unselectable ol-control"><button type="button" class="ol-zoomslider-thumb ol-unselectable"></button></div><div class="ol-mouse-position" style="pointer-events: auto;">&nbsp;</div><div style="pointer-events: auto;" class="ol-zoom-extent ol-unselectable ol-control"><button type="button" title="Fit to extent">E</button></div><div class="ol-control example-RControl" style="pointer-events: auto;"><button>X</button></div><div style="pointer-events: auto;" class="ol-rotate ol-unselectable ol-control ol-hidden"><button class="ol-rotate-reset" type="button" title="Reset rotation"><span class="ol-compass">⇧</span></button></div><div style="pointer-events: auto;" class="ol-full-screen ol-unselectable ol-control ol-unsupported"><button title="Toggle full-screen" type="button" class="ol-full-screen-false">⤢</button></div><div style="pointer-events: auto;" class="example-fullscreen ol-unselectable ol-control ol-unsupported"><button title="Toggle full-screen" type="button" class="example-fullscreen-false">扩</button></div><div style="pointer-events: auto;" class="ol-overviewmap example-overview ol-unselectable ol-control"><div class="ol-overviewmap-map"><div class="ol-viewport" style="position: relative; overflow: hidden; width: 100%; height: 100%;"><div style="position: absolute; width: 100%; height: 100%; z-index: 0;" class="ol-unselectable ol-layers"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer-stopevent"><div class="ol-overlay-container ol-selectable" style="position: absolute; pointer-events: auto; display: none;"><div class="ol-overviewmap-box" style="box-sizing: border-box;"></div></div></div></div></div><button type="button" title="Overview map"><span>‹</span></button></div></div></div></div>"`;
exports[`<RControl> should render all the RControls 1`] = `"<div style="width: 100px; height: 100px;"><div class="_rlayers_RLayer"></div><div class="_rlayers_RLayer"></div><div class="_rlayers_RCustomControl"></div><div class="ol-overviewmap example-overview"><div class="_rlayers_RLayer"></div></div><div class="ol-viewport" style="position: relative; overflow: hidden; width: 100%; height: 100%;"><div style="position: absolute; width: 100%; height: 100%; z-index: 0;" class="ol-unselectable ol-layers"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer-stopevent"><div class="ol-control ol-layers-control" style="pointer-events: auto;"><span><button>=</button></span></div><div style="pointer-events: none;" class="ol-scale-line ol-unselectable"><div class="ol-scale-line-inner"></div></div><div style="pointer-events: auto;" class="ol-attribution ol-unselectable ol-control"><button type="button" aria-expanded="true" title="Attributions"><span class="ol-attribution-collapse">›</span></button><ul></ul></div><div style="pointer-events: auto;" class="ol-zoom ol-unselectable ol-control"><button class="ol-zoom-in" type="button" title="Zoom in">+</button><button class="ol-zoom-out" type="button" title="Zoom out">–</button></div><div style="pointer-events: auto;" class="ol-zoomslider ol-unselectable ol-control"><button type="button" class="ol-zoomslider-thumb ol-unselectable"></button></div><div class="ol-mouse-position" style="pointer-events: auto;">&nbsp;</div><div style="pointer-events: auto;" class="ol-zoom-extent ol-unselectable ol-control"><button type="button" title="Fit to extent">E</button></div><div class="ol-control example-RControl" style="pointer-events: auto;"><button>X</button></div><div style="pointer-events: auto;" class="ol-rotate ol-unselectable ol-control ol-hidden"><button class="ol-rotate-reset" type="button" title="Reset rotation"><span class="ol-compass">⇧</span></button></div><div style="pointer-events: auto;" class="ol-full-screen ol-unselectable ol-control ol-unsupported"><button title="Toggle full-screen" type="button" class="ol-full-screen-false">⤢</button></div><div style="pointer-events: auto;" class="example-fullscreen ol-unselectable ol-control ol-unsupported"><button title="Toggle full-screen" type="button" class="example-fullscreen-false">扩</button></div><div style="pointer-events: auto;" class="ol-overviewmap example-overview ol-unselectable ol-control"><div class="ol-overviewmap-map"><div class="ol-viewport" style="position: relative; overflow: hidden; width: 100%; height: 100%;"><div style="position: absolute; width: 100%; height: 100%; z-index: 0;" class="ol-unselectable ol-layers"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer-stopevent"><div class="ol-overlay-container ol-selectable" style="position: absolute; pointer-events: auto; display: none;"><div class="ol-overviewmap-box" style="box-sizing: border-box;"></div></div></div></div></div><button type="button" title="Overview map"><span>‹</span></button></div></div></div></div>"`;

exports[`<RControl> should render all the RControls 2`] = `"<div style="width: 100px; height: 100px;"><div class="_rlayers_RLayer"></div><div class="_rlayers_RLayer"></div><div class="ol-overviewmap example-overview"><div class="_rlayers_RLayer"></div></div><div class="ol-viewport" style="position: relative; overflow: hidden; width: 100%; height: 100%;"><div style="position: absolute; width: 100%; height: 100%; z-index: 0;" class="ol-unselectable ol-layers"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer-stopevent"><div class="ol-control ol-layers-control" style="pointer-events: auto;"><span><button>=</button></span></div><div style="pointer-events: none;" class="ol-scale-line ol-unselectable"><div class="ol-scale-line-inner"></div></div><div style="pointer-events: auto;" class="ol-attribution ol-unselectable ol-control ol-collapsed"><button type="button" aria-expanded="false" title="Attributions"><span class="ol-attribution-expand">i</span></button><ul></ul></div><div style="pointer-events: auto;" class="ol-zoom ol-unselectable ol-control"><button class="ol-zoom-in" type="button" title="Zoom in">+</button><button class="ol-zoom-out" type="button" title="Zoom out">–</button></div><div style="pointer-events: auto;" class="ol-zoomslider ol-unselectable ol-control"><button type="button" class="ol-zoomslider-thumb ol-unselectable"></button></div><div class="ol-mouse-position" style="pointer-events: auto;">&nbsp;</div><div style="pointer-events: auto;" class="ol-zoom-extent ol-unselectable ol-control"><button type="button" title="Fit to extent">E</button></div><div class="ol-control example-RControl" style="pointer-events: auto;"><button>X</button></div><div style="pointer-events: auto;" class="ol-rotate ol-unselectable ol-control ol-hidden"><button class="ol-rotate-reset" type="button" title="Reset rotation"><span class="ol-compass">⇧</span></button></div><div style="pointer-events: auto;" class="ol-full-screen ol-unselectable ol-control ol-unsupported"><button title="Toggle full-screen" type="button" class="ol-full-screen-false">⤢</button></div><div style="pointer-events: auto;" class="example-fullscreen ol-unselectable ol-control ol-unsupported"><button title="Toggle full-screen" type="button" class="example-fullscreen-false">扩</button></div><div style="pointer-events: auto;" class="ol-overviewmap example-overview ol-unselectable ol-control ol-collapsed"><div class="ol-overviewmap-map"><div class="ol-viewport" style="position: relative; overflow: hidden; width: 100%; height: 100%;"><div style="position: absolute; width: 100%; height: 100%; z-index: 0;" class="ol-unselectable ol-layers"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer-stopevent"><div class="ol-overlay-container ol-selectable" style="position: absolute; pointer-events: auto; display: none;"><div class="ol-overviewmap-box" style="box-sizing: border-box;"></div></div></div></div></div><button type="button" title="Overview map"><span>›</span></button></div></div></div></div>"`;
exports[`<RControl> should render all the RControls 2`] = `"<div style="width: 100px; height: 100px;"><div class="_rlayers_RLayer"></div><div class="_rlayers_RLayer"></div><div class="_rlayers_RCustomControl"></div><div class="ol-overviewmap example-overview"><div class="_rlayers_RLayer"></div></div><div class="ol-viewport" style="position: relative; overflow: hidden; width: 100%; height: 100%;"><div style="position: absolute; width: 100%; height: 100%; z-index: 0;" class="ol-unselectable ol-layers"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer-stopevent"><div class="ol-control ol-layers-control" style="pointer-events: auto;"><span><button>=</button></span></div><div style="pointer-events: none;" class="ol-scale-line ol-unselectable"><div class="ol-scale-line-inner"></div></div><div style="pointer-events: auto;" class="ol-attribution ol-unselectable ol-control ol-collapsed"><button type="button" aria-expanded="false" title="Attributions"><span class="ol-attribution-expand">i</span></button><ul></ul></div><div style="pointer-events: auto;" class="ol-zoom ol-unselectable ol-control"><button class="ol-zoom-in" type="button" title="Zoom in">+</button><button class="ol-zoom-out" type="button" title="Zoom out">–</button></div><div style="pointer-events: auto;" class="ol-zoomslider ol-unselectable ol-control"><button type="button" class="ol-zoomslider-thumb ol-unselectable"></button></div><div class="ol-mouse-position" style="pointer-events: auto;">&nbsp;</div><div style="pointer-events: auto;" class="ol-zoom-extent ol-unselectable ol-control"><button type="button" title="Fit to extent">E</button></div><div class="ol-control example-RControl" style="pointer-events: auto;"><button>X</button></div><div style="pointer-events: auto;" class="ol-rotate ol-unselectable ol-control ol-hidden"><button class="ol-rotate-reset" type="button" title="Reset rotation"><span class="ol-compass">⇧</span></button></div><div style="pointer-events: auto;" class="ol-full-screen ol-unselectable ol-control ol-unsupported"><button title="Toggle full-screen" type="button" class="ol-full-screen-false">⤢</button></div><div style="pointer-events: auto;" class="example-fullscreen ol-unselectable ol-control ol-unsupported"><button title="Toggle full-screen" type="button" class="example-fullscreen-false">扩</button></div><div style="pointer-events: auto;" class="ol-overviewmap example-overview ol-unselectable ol-control ol-collapsed"><div class="ol-overviewmap-map"><div class="ol-viewport" style="position: relative; overflow: hidden; width: 100%; height: 100%;"><div style="position: absolute; width: 100%; height: 100%; z-index: 0;" class="ol-unselectable ol-layers"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer-stopevent"><div class="ol-overlay-container ol-selectable" style="position: absolute; pointer-events: auto; display: none;"><div class="ol-overviewmap-box" style="box-sizing: border-box;"></div></div></div></div></div><button type="button" title="Overview map"><span>›</span></button></div></div></div></div>"`;

exports[`<RControl> should render the layers RControl with a custom element 1`] = `"<div style="width: 100px; height: 100px;"><div class="_rlayers_RLayer"></div><div class="ol-viewport" style="position: relative; overflow: hidden; width: 100%; height: 100%;"><div style="position: absolute; width: 100%; height: 100%; z-index: 0;" class="ol-unselectable ol-layers"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer"></div><div style="position: absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" class="ol-overlaycontainer-stopevent"><div style="pointer-events: auto;" class="ol-zoom ol-unselectable ol-control"><button class="ol-zoom-in" type="button" title="Zoom in">+</button><button class="ol-zoom-out" type="button" title="Zoom out">–</button></div><div style="pointer-events: auto;" class="ol-rotate ol-unselectable ol-control ol-hidden"><button class="ol-rotate-reset" type="button" title="Reset rotation"><span class="ol-compass">⇧</span></button></div><div style="pointer-events: auto;" class="ol-attribution ol-unselectable ol-control ol-collapsed"><button type="button" aria-expanded="false" title="Attributions"><span class="ol-attribution-expand">i</span></button><ul></ul></div><div class="ol-control ol-layers-control" style="pointer-events: auto;"><span><button>X</button></span></div></div></div></div>"`;

0 comments on commit 6bccb23

Please sign in to comment.