[Feature Branch] Bump @types/node from 20.17.6 to 22.9.0 #500
Annotations
8 errors and 1 warning
src/config-provider/__tests__/form.test.tsx > ConfigProvider form > ConfigProvider form.requiredMark should be `optional` by default and work for ProForm:
packages/design/src/config-provider/__tests__/form.test.tsx#L32
AssertionError: expected null to be truthy
- Expected:
null
+ Received:
false
❯ src/config-provider/__tests__/form.test.tsx:32:7
|
src/FooterToolbar/__tests__/index.test.tsx > FooterToolbar > render:
packages/ui/src/FooterToolbar/__tests__/index.test.tsx#L23
Error: Snapshot `FooterToolbar > render 1` mismatched
- Expected
+ Received
@@ -1,16 +1,16 @@
<div>
<div
- class="ant-pro-footer-bar"
+ class="css-dev-only-do-not-override-tpassh ant-pro-footer-bar"
>
<div
- class="ant-pro-footer-bar-left"
+ class="ant-pro-footer-bar-left css-dev-only-do-not-override-tpassh"
>
Some extra message
</div>
<div
- class="ant-pro-footer-bar-right"
+ class="ant-pro-footer-bar-right css-dev-only-do-not-override-tpassh"
>
<button
class="ant-btn ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
type="button"
>
❯ src/FooterToolbar/__tests__/index.test.tsx:23:37
|
src/FooterToolbar/__tests__/index.test.tsx > FooterToolbar > portalDom is true:
packages/ui/src/FooterToolbar/__tests__/index.test.tsx#L28
Error: Snapshot `FooterToolbar > portalDom is true 1` mismatched
- Expected
+ Received
@@ -1,16 +1,16 @@
<div>
<div
- class="ant-pro-footer-bar"
+ class="css-dev-only-do-not-override-tpassh ant-pro-footer-bar"
>
<div
- class="ant-pro-footer-bar-left"
+ class="ant-pro-footer-bar-left css-dev-only-do-not-override-tpassh"
>
Some extra message
</div>
<div
- class="ant-pro-footer-bar-right"
+ class="ant-pro-footer-bar-right css-dev-only-do-not-override-tpassh"
>
<button
class="ant-btn ant-btn-default ant-btn-color-default ant-btn-variant-outlined"
type="button"
>
❯ src/FooterToolbar/__tests__/index.test.tsx:28:37
|
src/PageContainer/__tests__/index.test.tsx > PageContainer > extra and footer:
packages/ui/src/PageContainer/__tests__/index.test.tsx#L15
Error: Snapshot `PageContainer > extra and footer 1` mismatched
- Expected
+ Received
@@ -141,11 +141,11 @@
>
<input
aria-invalid="false"
autocomplete="off"
date-range="start"
- placeholder="开始日期"
+ placeholder="Start date"
size="12"
value=""
/>
</div>
<div
@@ -181,11 +181,11 @@
>
<input
aria-invalid="false"
autocomplete="off"
date-range="end"
- placeholder="结束日期"
+ placeholder="End date"
size="12"
value=""
/>
</div>
<div
❯ src/PageContainer/__tests__/index.test.tsx:15:37
|
src/ProTable/__tests__/index.test.tsx > ProTable > render:
packages/ui/src/ProTable/__tests__/index.test.tsx#L51
Error: Snapshot `ProTable > render 1` mismatched
- Expected
+ Received
@@ -891,32 +891,36 @@
>
<div
class="ant-select-selector"
>
<span
- class="ant-select-selection-search"
- >
- <input
- aria-autocomplete="list"
- aria-controls="rc_select_TEST_OR_SSR_list"
- aria-expanded="false"
- aria-haspopup="listbox"
- aria-label="页码"
- aria-owns="rc_select_TEST_OR_SSR_list"
- autocomplete="off"
- class="ant-select-selection-search-input"
- id="rc_select_TEST_OR_SSR"
- role="combobox"
- type="search"
- value=""
- />
- </span>
- <span
- class="ant-select-selection-item"
- title="10 条/页"
+ class="ant-select-selection-wrap"
>
- 10 条/页
+ <span
+ class="ant-select-selection-search"
+ >
+ <input
+ aria-autocomplete="list"
+ aria-controls="rc_select_TEST_OR_SSR_list"
+ aria-expanded="false"
+ aria-haspopup="listbox"
+ aria-label="页码"
+ aria-owns="rc_select_TEST_OR_SSR_list"
+ autocomplete="off"
+ class="ant-select-selection-search-input"
+ id="rc_select_TEST_OR_SSR"
+ role="combobox"
+ type="search"
+ value=""
+ />
+ </span>
+ <span
+ class="ant-select-selection-item"
+ title="10 条/页"
+ >
+ 10 条/页
+ </span>
</span>
</div>
<span
aria-hidden="true"
class="ant-select-arrow"
❯ src/ProTable/__tests__/index.test.tsx:51:37
|
src/ProTable/__tests__/index.test.tsx > ProTable > default pagination should work:
packages/ui/src/ProTable/__tests__/index.test.tsx#L65
Error: Snapshot `ProTable > default pagination should work 1` mismatched
- Expected
+ Received
@@ -891,32 +891,36 @@
>
<div
class="ant-select-selector"
>
<span
- class="ant-select-selection-search"
- >
- <input
- aria-autocomplete="list"
- aria-controls="rc_select_TEST_OR_SSR_list"
- aria-expanded="false"
- aria-haspopup="listbox"
- aria-label="页码"
- aria-owns="rc_select_TEST_OR_SSR_list"
- autocomplete="off"
- class="ant-select-selection-search-input"
- id="rc_select_TEST_OR_SSR"
- role="combobox"
- type="search"
- value=""
- />
- </span>
- <span
- class="ant-select-selection-item"
- title="10 条/页"
+ class="ant-select-selection-wrap"
>
- 10 条/页
+ <span
+ class="ant-select-selection-search"
+ >
+ <input
+ aria-autocomplete="list"
+ aria-controls="rc_select_TEST_OR_SSR_list"
+ aria-expanded="false"
+ aria-haspopup="listbox"
+ aria-label="页码"
+ aria-owns="rc_select_TEST_OR_SSR_list"
+ autocomplete="off"
+ class="ant-select-selection-search-input"
+ id="rc_select_TEST_OR_SSR"
+ role="combobox"
+ type="search"
+ value=""
+ />
+ </span>
+ <span
+ class="ant-select-selection-item"
+ title="10 条/页"
+ >
+ 10 条/页
+ </span>
</span>
</div>
<span
aria-hidden="true"
class="ant-select-arrow"
❯ src/ProTable/__tests__/index.test.tsx:65:37
|
src/ProTable/__tests__/index.test.tsx > ProTable > ConfigProvider pagination should work:
packages/ui/src/ProTable/__tests__/index.test.tsx#L83
Error: Snapshot `ProTable > ConfigProvider pagination should work 1` mismatched
- Expected
+ Received
@@ -710,11 +710,11 @@
class="ant-pagination ant-table-pagination ant-table-pagination-right"
>
<li
aria-disabled="true"
class="ant-pagination-prev ant-pagination-disabled"
- title="Previous Page"
+ title="上一页"
>
<button
class="ant-pagination-item-link"
disabled=""
tabindex="-1"
@@ -797,11 +797,11 @@
</a>
</li>
<li
class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon"
tabindex="0"
- title="Next 5 Pages"
+ title="向后 5 页"
>
<a
class="ant-pagination-item-link"
>
<div
@@ -847,11 +847,11 @@
</li>
<li
aria-disabled="false"
class="ant-pagination-next"
tabindex="0"
- title="Next Page"
+ title="下一页"
>
<button
class="ant-pagination-item-link"
tabindex="-1"
type="button"
❯ src/ProTable/__tests__/index.test.tsx:83:37
|
test (16.x, ubuntu-latest)
Process completed with exit code 1.
|
test (16.x, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|