adjust method overloads #2826
Annotations
10 errors and 1 warning
Run tests:
src/packages/basemap-switcher/BasemapSwitcher.test.tsx#L46
Error: Snapshot `should successfully create a basemap switcher component 1` mismatched
- Expected
+ Received
@@ -3,10 +3,11 @@
data-testid="switcher"
data-theme="light"
>
<div
class="basemap-switcher-select react-select--has-value css-79elbk"
+ data-theme="light"
>
<span
class="css-1f43avz-a11yText-A11yText"
id="react-select-2-live-region"
/>
@@ -17,16 +18,19 @@
class="css-1f43avz-a11yText-A11yText"
role="log"
/>
<div
class="react-select__control react-select__control--menu-is-open css-156sfem"
+ data-theme="light"
>
<div
class="react-select__value-container react-select__value-container--has-value css-j93siq"
+ data-theme="light"
>
<div
class="basemap-switcher-value react-select__single-value css-1xa1gs2"
+ data-theme="light"
>
<div
class="css-u4p24i"
data-theme="light"
>
@@ -48,22 +52,26 @@
value=""
/>
</div>
<div
class="react-select__indicators css-hfbj6y"
+ data-theme="light"
>
<hr
aria-orientation="vertical"
class="chakra-divider react-select__indicator-separator css-hxuk4g"
+ data-theme="light"
/>
<div
aria-hidden="true"
class="react-select__indicator react-select__dropdown-indicator css-1hbdnuy"
+ data-theme="light"
>
<svg
aria-hidden="true"
class="chakra-icon css-onkibi"
+ data-theme="light"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
@@ -77,21 +85,24 @@
<div
class="react-select__menu-portal css-1vbk7iu"
>
<div
class="react-select__menu css-ky7590"
+ data-theme="light"
>
<div
aria-multiselectable="false"
class="react-select__menu-list css-mkffje"
+ data-theme="light"
id="react-select-2-listbox"
role="listbox"
>
<div
aria-selected="true"
class="basemap-switcher-option react-select__option react-select__option--is-focused react-select__option--is-selected css-2rk73n"
data-focus="true"
+ data-theme="light"
id="react-select-2-option-0"
role="option"
tabindex="-1"
>
<div
❯ packages/basemap-switcher/BasemapSwitcher.test.tsx:46:25
|
Run tests:
src/packages/basemap-switcher/BasemapSwitcher.test.tsx#L365
Error: Snapshot `should deactivate unavailable layers for selection 1` mismatched
- Expected
+ Received
@@ -1,7 +1,8 @@
<div
class="basemap-switcher-select react-select--has-value css-79elbk"
+ data-theme="light"
>
<span
class="css-1f43avz-a11yText-A11yText"
id="react-select-11-live-region"
/>
@@ -12,16 +13,19 @@
class="css-1f43avz-a11yText-A11yText"
role="log"
/>
<div
class="react-select__control react-select__control--menu-is-open css-156sfem"
+ data-theme="light"
>
<div
class="react-select__value-container react-select__value-container--has-value css-j93siq"
+ data-theme="light"
>
<div
class="basemap-switcher-value react-select__single-value css-1xa1gs2"
+ data-theme="light"
>
<div
class="css-u4p24i"
data-theme="light"
>
@@ -43,22 +47,26 @@
value=""
/>
</div>
<div
class="react-select__indicators css-hfbj6y"
+ data-theme="light"
>
<hr
aria-orientation="vertical"
class="chakra-divider react-select__indicator-separator css-hxuk4g"
+ data-theme="light"
/>
<div
aria-hidden="true"
class="react-select__indicator react-select__dropdown-indicator css-1hbdnuy"
+ data-theme="light"
>
<svg
aria-hidden="true"
class="chakra-icon css-onkibi"
+ data-theme="light"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
@@ -72,21 +80,24 @@
<div
class="react-select__menu-portal css-1vbk7iu"
>
<div
class="react-select__menu css-ky7590"
+ data-theme="light"
>
<div
aria-multiselectable="false"
class="react-select__menu-list css-mkffje"
+ data-theme="light"
id="react-select-11-listbox"
role="listbox"
>
<div
aria-selected="true"
class="basemap-switcher-option react-select__option react-select__option--is-focused react-select__option--is-selected css-2rk73n"
data-focus="true"
+ data-theme="light"
id="react-select-11-option-0"
role="option"
tabindex="-1"
>
<div
@@ -97,10 +108,11 @@
</div>
</div>
<div
aria-selected="false"
class="basemap-switcher-option react-select__option css-p7801c"
+ data-theme="light"
id="react-select-11-option-1"
role="option"
tabindex="-1"
>
<div
❯ packages/basemap-switcher/BasemapSwitcher.test.tsx:365:28
|
Run tests:
src/packages/coordinate-search/CoordinateInput.test.tsx#L38
Error: Snapshot `should successfully create a coordinate input component 1` mismatched
- Expected
+ Received
@@ -30,10 +30,11 @@
class="chakra-input__right-addon css-vqkjic"
data-theme="light"
>
<div
class="coordinate-input-select--has-value css-79elbk"
+ data-theme="light"
>
<span
class="css-1f43avz-a11yText-A11yText"
id="react-select-2-live-region"
/>
@@ -44,16 +45,19 @@
class="css-1f43avz-a11yText-A11yText"
role="log"
/>
<div
class="coordinate-input-select__control css-u1k0x6"
+ data-theme="light"
>
<div
class="coordinate-input-select__value-container coordinate-input-select__value-container--has-value css-odo7kh"
+ data-theme="light"
>
<div
class="coordinate-input-select__single-value css-1xa1gs2"
+ data-theme="light"
>
WGS 84
</div>
<input
aria-autocomplete="list"
@@ -69,22 +73,26 @@
value=""
/>
</div>
<div
class="coordinate-input-select__indicators css-hfbj6y"
+ data-theme="light"
>
<hr
aria-orientation="vertical"
class="chakra-divider coordinate-input-select__indicator-separator css-ejwint"
+ data-theme="light"
/>
<div
aria-hidden="true"
class="coordinate-input-select__indicator coordinate-input-select__dropdown-indicator css-4v68kg"
+ data-theme="light"
>
<svg
aria-hidden="true"
class="chakra-icon css-onkibi"
+ data-theme="light"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
❯ packages/coordinate-search/CoordinateInput.test.tsx:38:28
|
Run tests:
src/packages/coordinate-search/CoordinateSearch.test.tsx#L33
Error: Snapshot `should successfully create a coordinate search component 1` mismatched
- Expected
+ Received
@@ -30,10 +30,11 @@
class="chakra-input__right-addon css-vqkjic"
data-theme="light"
>
<div
class="coordinate-input-select--has-value css-79elbk"
+ data-theme="light"
>
<span
class="css-1f43avz-a11yText-A11yText"
id="react-select-2-live-region"
/>
@@ -44,16 +45,19 @@
class="css-1f43avz-a11yText-A11yText"
role="log"
/>
<div
class="coordinate-input-select__control css-u1k0x6"
+ data-theme="light"
>
<div
class="coordinate-input-select__value-container coordinate-input-select__value-container--has-value css-odo7kh"
+ data-theme="light"
>
<div
class="coordinate-input-select__single-value css-1xa1gs2"
+ data-theme="light"
>
WGS 84
</div>
<input
aria-autocomplete="list"
@@ -69,22 +73,26 @@
value=""
/>
</div>
<div
class="coordinate-input-select__indicators css-hfbj6y"
+ data-theme="light"
>
<hr
aria-orientation="vertical"
class="chakra-divider coordinate-input-select__indicator-separator css-ejwint"
+ data-theme="light"
/>
<div
aria-hidden="true"
class="coordinate-input-select__indicator coordinate-input-select__dropdown-indicator css-4v68kg"
+ data-theme="light"
>
<svg
aria-hidden="true"
class="chakra-icon css-onkibi"
+ data-theme="light"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
❯ packages/coordinate-search/CoordinateSearch.test.tsx:33:29
|
Run tests:
src/packages/scale-setter/ScaleSetter.test.tsx#L40
Error: Snapshot `should successfully create a scale Setter component 1` mismatched
- Expected
+ Received
@@ -25,10 +25,11 @@
data-theme="light"
>
<svg
aria-hidden="true"
class="chakra-icon css-onkibi"
+ data-theme="light"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"
❯ packages/scale-setter/ScaleSetter.test.tsx:40:23
|
Run tests:
src/packages/scale-setter/ScaleSetter.test.tsx#L58
Error: Snapshot `should successfully create a scale setter component with additional css classes and box properties 1` mismatched
- Expected
+ Received
@@ -25,10 +25,11 @@
data-theme="light"
>
<svg
aria-hidden="true"
class="chakra-icon css-onkibi"
+ data-theme="light"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"
❯ packages/scale-setter/ScaleSetter.test.tsx:58:23
|
Run tests:
src/packages/scale-viewer/ScaleViewer.test.tsx#L41
Error: Snapshot `should successfully create a scale viewer component with additional css classes and box properties 1` mismatched
- Expected
+ Received
@@ -6,8 +6,8 @@
<p
class="chakra-text css-0"
data-theme="light"
>
1:
- 336,409
+ 1
</p>
</div>
❯ packages/scale-viewer/ScaleViewer.test.tsx:41:23
|
Run tests:
src/packages/search/Search.test.tsx#L19
Error: Snapshot `should successfully create a search component 1` mismatched
- Expected
+ Received
@@ -3,10 +3,11 @@
data-testid="search"
data-theme="light"
>
<div
class="search-component css-79elbk"
+ data-theme="light"
>
<span
class="css-1f43avz-a11yText-A11yText"
id="react-select-2-live-region"
/>
@@ -17,16 +18,19 @@
class="css-1f43avz-a11yText-A11yText"
role="log"
/>
<div
class="react-select__control css-i2418r"
+ data-theme="light"
>
<div
class="search-value-container react-select__value-container css-j93siq"
+ data-theme="light"
>
<svg
class="chakra-icon css-onkibi"
+ data-theme="light"
focusable="false"
style="position: absolute; left: 8px;"
viewBox="0 0 24 24"
>
<path
@@ -34,16 +38,18 @@
fill="currentColor"
/>
</svg>
<div
class="react-select__placeholder css-hji3d9"
+ data-theme="light"
id="react-select-2-placeholder"
>
searchPlaceholder
</div>
<div
class="react-select__input-container css-18euh9p"
+ data-theme="light"
data-value=""
>
<input
aria-autocomplete="list"
aria-describedby="react-select-2-placeholder"
@@ -52,10 +58,11 @@
aria-label="ariaLabel.search"
autocapitalize="none"
autocomplete="off"
autocorrect="off"
class="react-select__input css-10wwmqn"
+ data-theme="light"
id="react-select-2-input"
role="combobox"
spellcheck="false"
tabindex="0"
type="text"
@@ -63,22 +70,26 @@
/>
</div>
</div>
<div
class="react-select__indicators css-hfbj6y"
+ data-theme="light"
>
<hr
aria-orientation="vertical"
class="chakra-divider react-select__indicator-separator css-1xamfek"
+ data-theme="light"
/>
<div
aria-hidden="true"
class="react-select__indicator react-select__dropdown-indicator css-am4s01"
+ data-theme="light"
>
<svg
aria-hidden="true"
class="chakra-icon css-onkibi"
+ data-theme="light"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
❯ packages/search/Search.test.tsx:19:23
|
Run tests:
src/packages/selection/Selection.test.tsx#L26
Error: Snapshot `should successfully create a selection component and select the first selection source 1` mismatched
- Expected
+ Received
@@ -16,10 +16,11 @@
>
selectSource
</label>
<div
class="selection-source react-select react-select--has-value css-79elbk"
+ data-theme="light"
>
<span
class="css-1f43avz-a11yText-A11yText"
id="react-select-2-live-region"
/>
@@ -30,16 +31,19 @@
class="css-1f43avz-a11yText-A11yText"
role="log"
/>
<div
class="react-select__control css-156sfem"
+ data-theme="light"
>
<div
class="react-select__value-container react-select__value-container--has-value css-j93siq"
+ data-theme="light"
>
<div
class="selection-source-value selection-source-value--disabled react-select__single-value react-select__single-value--is-disabled css-1xa1gs2"
+ data-theme="light"
>
<div
class="css-1x05v4l"
data-theme="light"
>
@@ -90,32 +94,37 @@
<input
aria-autocomplete="list"
aria-expanded="false"
aria-haspopup="true"
aria-readonly="true"
+ aria-required="false"
class="css-mohuvp-dummyInput-DummyInput"
- id="react-select-2-input"
+ id="field-:r0:"
inputmode="none"
role="combobox"
tabindex="0"
value=""
/>
</div>
<div
class="react-select__indicators css-hfbj6y"
+ data-theme="light"
>
<hr
aria-orientation="vertical"
class="chakra-divider react-select__indicator-separator css-hxuk4g"
+ data-theme="light"
/>
<div
aria-hidden="true"
class="react-select__indicator react-select__dropdown-indicator css-1hbdnuy"
+ data-theme="light"
>
<svg
aria-hidden="true"
class="chakra-icon css-onkibi"
+ data-theme="light"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
❯ packages/selection/Selection.test.tsx:26:26
|
Run tests:
src/packages/toc/Toc.test.tsx#L57
Error: Snapshot `should successfully create a toc component 1` mismatched
- Expected
+ Received
@@ -18,10 +18,11 @@
class="basemap-switcher css-0"
data-theme="light"
>
<div
class="basemap-switcher-select react-select--has-value css-79elbk"
+ data-theme="light"
>
<span
class="css-1f43avz-a11yText-A11yText"
id="react-select-2-live-region"
/>
@@ -32,16 +33,19 @@
class="css-1f43avz-a11yText-A11yText"
role="log"
/>
<div
class="react-select__control react-select__control--menu-is-open css-156sfem"
+ data-theme="light"
>
<div
class="react-select__value-container react-select__value-container--has-value css-j93siq"
+ data-theme="light"
>
<div
class="basemap-switcher-value react-select__single-value css-1xa1gs2"
+ data-theme="light"
>
<div
class="css-u4p24i"
data-theme="light"
>
@@ -64,22 +68,26 @@
value=""
/>
</div>
<div
class="react-select__indicators css-hfbj6y"
+ data-theme="light"
>
<hr
aria-orientation="vertical"
class="chakra-divider react-select__indicator-separator css-hxuk4g"
+ data-theme="light"
/>
<div
aria-hidden="true"
class="react-select__indicator react-select__dropdown-indicator css-1hbdnuy"
+ data-theme="light"
>
<svg
aria-hidden="true"
class="chakra-icon css-onkibi"
+ data-theme="light"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
@@ -93,21 +101,24 @@
<div
class="react-select__menu-portal css-1vbk7iu"
>
<div
class="react-select__menu css-ky7590"
+ data-theme="light"
>
<div
aria-multiselectable="false"
class="react-select__menu-list css-mkffje"
+ data-theme="light"
id="react-select-2-listbox"
role="listbox"
>
<div
aria-selected="true"
class="basemap-switcher-option react-select__option react-select__option--is-focused react-select__option--is-selected css-2rk73n"
data-focus="true"
+ data-theme="light"
id="react-select-2-option-0"
role="option"
tabindex="-1"
>
<div
❯ packages/toc/Toc.test.tsx:57:20
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading