Skip to content

improve(docs): Update theme usage docs #206

improve(docs): Update theme usage docs

improve(docs): Update theme usage docs #206

Triggered via pull request July 19, 2024 08:00
Status Failure
Total duration 5m 34s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

6 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-p8b6i ant-pro-footer-bar" > <div - class="ant-pro-footer-bar-left" + class="ant-pro-footer-bar-left css-dev-only-do-not-override-p8b6i" > Some extra message </div> <div - class="ant-pro-footer-bar-right" + class="ant-pro-footer-bar-right css-dev-only-do-not-override-p8b6i" > <button class="ant-btn ant-btn-default" 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-p8b6i ant-pro-footer-bar" > <div - class="ant-pro-footer-bar-left" + class="ant-pro-footer-bar-left css-dev-only-do-not-override-p8b6i" > Some extra message </div> <div - class="ant-pro-footer-bar-right" + class="ant-pro-footer-bar-right css-dev-only-do-not-override-p8b6i" > <button class="ant-btn ant-btn-default" 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#L14
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:14:37
src/ProTable/__tests__/index.test.tsx > ProTable > ConfigProvider pagination should work: packages/ui/src/ProTable/__tests__/index.test.tsx#L78
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:78:37
test (16.x, ubuntu-latest)
Process completed with exit code 1.
test (16.x, ubuntu-latest)
The following actions uses Node.js version which is deprecated 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/