Skip to content

🧪 feat: add a basic snapshot test #343

🧪 feat: add a basic snapshot test

🧪 feat: add a basic snapshot test #343

Triggered via push February 27, 2024 07:45
Status Failure
Total duration 2m 22s
Artifacts

test.yml

on: push

Annotations

7 errors and 1 warning
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders use-ref.tsx correctly: tests/demo.tsx#L29
Error: Snapshot `<ProChat /> > renders use-ref.tsx correctly 1` mismatched - Expected + Received @@ -55,11 +55,11 @@ > <div class="layoutkit-flexbox css-1uxoxb1 acss-1q9sa2a ant-pro-chat-list-item-title" > <time> - 2023-10-21 12:24:03 + 2023-10-21 04:24:03 </time> </div> <div class="layoutkit-flexbox css-1g62d18 acss-j11nrd" > @@ -241,11 +241,11 @@ > <div class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title" > <time> - 2023-10-21 12:24:09 + 2023-10-21 04:24:09 </time> </div> <div class="layoutkit-flexbox css-d8kryp acss-j11nrd" > ❯ tests/demo.tsx:29:38
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders use-pro-chat.tsx correctly: tests/demo.tsx#L29
Error: Snapshot `<ProChat /> > renders use-pro-chat.tsx correctly 1` mismatched - Expected + Received @@ -112,11 +112,11 @@ > <div class="layoutkit-flexbox css-1uxoxb1 acss-1q9sa2a ant-pro-chat-list-item-title" > <time> - 2023-10-21 12:24:03 + 2023-10-21 04:24:03 </time> </div> <div class="layoutkit-flexbox css-1g62d18 acss-j11nrd" > @@ -298,11 +298,11 @@ > <div class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title" > <time> - 2023-10-21 12:24:09 + 2023-10-21 04:24:09 </time> </div> <div class="layoutkit-flexbox css-d8kryp acss-j11nrd" > ❯ tests/demo.tsx:29:38
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders toBottomConfig.tsx correctly: tests/demo.tsx#L29
Error: Snapshot `<ProChat /> > renders toBottomConfig.tsx correctly 1` mismatched - Expected + Received @@ -47,11 +47,11 @@ > <div class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title" > <time> - 2023-10-21 12:24:03 + 2023-10-21 04:24:03 </time> </div> <div class="layoutkit-flexbox css-14jdfs3 acss-j11nrd" > @@ -230,11 +230,11 @@ > <div class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title" > <time> - 2023-10-21 12:24:09 + 2023-10-21 04:24:09 </time> </div> <div class="layoutkit-flexbox css-14jdfs3 acss-j11nrd" > ❯ tests/demo.tsx:29:38
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders meta.tsx correctly: tests/demo.tsx#L29
Error: Snapshot `<ProChat /> > renders meta.tsx correctly 1` mismatched - Expected + Received @@ -41,11 +41,11 @@ <div class="layoutkit-flexbox css-1uxoxb1 acss-1df1rs8 ant-pro-chat-list-item-title" > Ant Design <time> - 2023-10-21 12:24:03 + 2023-10-21 04:24:03 </time> </div> <div class="layoutkit-flexbox css-1g62d18 acss-j11nrd" > @@ -228,11 +228,11 @@ <div class="layoutkit-flexbox css-1qd5nuy acss-188cr2a ant-pro-chat-list-item-title" > 三体世界 <time> - 2023-10-21 12:24:09 + 2023-10-21 04:24:09 </time> </div> <div class="layoutkit-flexbox css-d8kryp acss-j11nrd" > ❯ tests/demo.tsx:29:38
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders initialChats.tsx correctly: tests/demo.tsx#L29
Error: Snapshot `<ProChat /> > renders initialChats.tsx correctly 1` mismatched - Expected + Received @@ -47,11 +47,11 @@ > <div class="layoutkit-flexbox css-1uxoxb1 acss-1q9sa2a ant-pro-chat-list-item-title" > <time> - 2023-10-21 12:24:03 + 2023-10-21 04:24:03 </time> </div> <div class="layoutkit-flexbox css-1g62d18 acss-j11nrd" > @@ -233,11 +233,11 @@ > <div class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title" > <time> - 2023-10-21 12:24:09 + 2023-10-21 04:24:09 </time> </div> <div class="layoutkit-flexbox css-d8kryp acss-j11nrd" > ❯ tests/demo.tsx:29:38
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders doc-mode.tsx correctly: tests/demo.tsx#L29
Error: Snapshot `<ProChat /> > renders doc-mode.tsx correctly 1` mismatched - Expected + Received @@ -47,11 +47,11 @@ > <div class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title" > <time> - 2023-10-21 12:24:03 + 2023-10-21 04:24:03 </time> </div> <div class="layoutkit-flexbox css-14jdfs3 acss-j11nrd" > @@ -230,11 +230,11 @@ > <div class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title" > <time> - 2023-10-21 12:24:09 + 2023-10-21 04:24:09 </time> </div> <div class="layoutkit-flexbox css-14jdfs3 acss-j11nrd" > ❯ tests/demo.tsx:29:38
test
Process completed with exit code 1.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.