fix: 修复 main ci 问题 (#300) #756
Annotations
2 errors and 1 warning
Test and coverage:
tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders actions.tsx correctly 1` mismatched
- Expected
+ Received
@@ -17,12 +17,12 @@
<div
class="acss-pmp369 ant-pro-chat-list"
style="margin-top: 24px;"
>
<div
- class="layoutkit-flexbox css-1xn0kxa acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-right"
- data-id="1"
+ class="layoutkit-flexbox css-vwb4od acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
+ data-id="default"
>
<div
class="acss-16a4jh6"
>
<span
@@ -35,166 +35,55 @@
>
<div
class="acss-1vwqsas"
style="font-size: 23.040000000000003px; height: 25.6px; width: 25.6px;"
>
- 😀
+ 🤖
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-ojglte acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-9pyqzz acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-12x47oo acss-1q9sa2a ant-pro-chat-list-item-title"
+ class="layoutkit-flexbox css-16o88vh acss-1s7pvt5 ant-pro-chat-list-item-title"
>
<time>
2024-02-27 17:20:00
</time>
</div>
<div
- class="layoutkit-flexbox css-4preuj acss-j11nrd ant-pro-chat-message-content"
+ class="layoutkit-flexbox css-roa2v7 acss-j11nrd ant-pro-chat-message-content"
>
<div
class="layoutkit-flexbox css-o3n4io acss-1aas3xx ant-pro-chat-list-item-message-content"
>
<div
- id="1"
+ id="default"
>
<article
class="ant-typography"
style="overflow-x: hidden; overflow-y: auto;"
>
<div
class="zcss-1hxup8p"
>
<p>
- test
+ 让我们开始对话吧
</p>
</div>
</article>
</div>
<div
class="acss-0 ant-pro-chat-message-extra"
/>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-1baikiv ant-pro-chat-list-item-actions"
+ class="layoutkit-flexbox css-9pyqzz acss-1eio0fa ant-pro-chat-list-item-actions"
role="menubar"
- >
- <div
- class="ant-editor-action-group-content zcss-t61miv"
- >
- <button
- class="ant-btn ant-btn-text ant-btn-icon-only ant-editor-icon zcss-97l1ue"
- type="button"
- >
- <span
- class="ant-btn-icon"
- >
- <div
- class="acss-1o4i853"
- style="border-radius: 5px; height: 24px; width: 24px;"
- >
- <span
- class="anticon"
- role="img"
- >
- <svg
- class="lucide lucide-rotate-cw"
-
|
Test and coverage
Process completed with exit code 1.
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading