feat: 重构 chart 能力 (#28) #221
codecov.yml
on: push
Run tests and collect coverage
1m 51s
Annotations
7 errors and 1 warning
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/render.tsx > renders src/MarkdownEditor/demos/render.tsx correctly:
tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/render.tsx > renders src/MarkdownEditor/demos/render.tsx correctly 1` mismatched
- Expected
+ Received
@@ -5509,11 +5509,11 @@
<div
class="ant-md-editor-drag-el"
contenteditable="false"
data-be="link-card"
draggable="true"
- style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; align-items: center;"
+ style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; border: 1px solid rgb(209 213 219 / 0.8); align-items: center;"
>
<div
data-be="schema"
style="padding: 8px; width: 100%;"
>
❯ tests/demo/demo.test.tsx:31:11
|
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/pure.tsx > renders src/MarkdownEditor/demos/pure.tsx correctly:
tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/pure.tsx > renders src/MarkdownEditor/demos/pure.tsx correctly 1` mismatched
- Expected
+ Received
@@ -8413,11 +8413,11 @@
<div
class="ant-md-editor-drag-el"
contenteditable="false"
data-be="link-card"
draggable="false"
- style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; align-items: center;"
+ style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; border: 1px solid rgb(209 213 219 / 0.8); align-items: center;"
>
<div
data-be="schema"
style="padding: 8px; width: 100%;"
>
❯ tests/demo/demo.test.tsx:31:11
|
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/preview.tsx > renders src/MarkdownEditor/demos/preview.tsx correctly:
tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/preview.tsx > renders src/MarkdownEditor/demos/preview.tsx correctly 1` mismatched
- Expected
+ Received
@@ -9611,11 +9611,11 @@
<div
class="ant-md-editor-drag-el"
contenteditable="false"
data-be="link-card"
draggable="true"
- style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; align-items: center;"
+ style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; border: 1px solid rgb(209 213 219 / 0.8); align-items: center;"
>
<div
data-be="schema"
style="padding: 8px; width: 100%;"
>
❯ tests/demo/demo.test.tsx:31:11
|
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/ppt.tsx > renders src/MarkdownEditor/demos/ppt.tsx correctly:
tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/ppt.tsx > renders src/MarkdownEditor/demos/ppt.tsx correctly 1` mismatched
- Expected
+ Received
@@ -1,43 +1,44 @@
<DocumentFragment>
<div
aria-label="segmented control"
class="ant-segmented"
- role="listbox"
+ role="radiogroup"
style="position: fixed; z-index: 1000; top: 0px;"
+ tabindex="0"
>
<div
class="ant-segmented-group"
>
<label
class="ant-segmented-item ant-segmented-item-selected"
>
<input
checked=""
class="ant-segmented-item-input"
+ name="test-id"
type="radio"
/>
<div
aria-selected="true"
class="ant-segmented-item-label"
- role="option"
title="编辑模式"
>
编辑模式
</div>
</label>
<label
class="ant-segmented-item"
>
<input
class="ant-segmented-item-input"
+ name="test-id"
type="radio"
/>
<div
aria-selected="false"
class="ant-segmented-item-label"
- role="option"
title="幻灯片模式"
>
幻灯片模式
</div>
</label>
@@ -16851,11 +16852,11 @@
<div
class="ant-md-editor-drag-el"
contenteditable="false"
data-be="link-card"
draggable="false"
- style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; align-items: center;"
+ style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; border: 1px solid rgb(209 213 219 / 0.8); align-items: center;"
>
<div
data-be="schema"
style="padding: 8px; width: 100%;"
>
❯ tests/demo/demo.test.tsx:31:11
|
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/min.tsx > renders src/MarkdownEditor/demos/min.tsx correctly:
tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/min.tsx > renders src/MarkdownEditor/demos/min.tsx correctly 1` mismatched
- Expected
+ Received
@@ -8181,11 +8181,11 @@
<div
class="ant-md-editor-drag-el"
contenteditable="false"
data-be="link-card"
draggable="false"
- style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; align-items: center;"
+ style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; border: 1px solid rgb(209 213 219 / 0.8); align-items: center;"
>
<div
data-be="schema"
style="padding: 8px; width: 100%;"
>
❯ tests/demo/demo.test.tsx:31:11
|
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/min-render.tsx > renders src/MarkdownEditor/demos/min-render.tsx correctly:
tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/min-render.tsx > renders src/MarkdownEditor/demos/min-render.tsx correctly 1` mismatched
- Expected
+ Received
@@ -12884,11 +12884,11 @@
<div
class="ant-md-editor-drag-el"
contenteditable="false"
data-be="link-card"
draggable="false"
- style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; align-items: center;"
+ style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; border: 1px solid rgb(209 213 219 / 0.8); align-items: center;"
>
<div
data-be="schema"
style="padding: 8px; width: 100%;"
>
❯ tests/demo/demo.test.tsx:31:11
|
Run tests and collect coverage
Process completed with exit code 1.
|
Run tests and collect coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|