mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-09 06:49:02 +08:00
test: update snapshots
This commit is contained in:
parent
4c81443930
commit
a49364bde0
@ -2,10 +2,9 @@
|
|||||||
|
|
||||||
exports[`GraphvizPreview > basic rendering > should match snapshot 1`] = `
|
exports[`GraphvizPreview > basic rendering > should match snapshot 1`] = `
|
||||||
.c0 {
|
.c0 {
|
||||||
overflow: auto;
|
--shadow-host-background-color: white;
|
||||||
position: relative;
|
--shadow-host-border: 0.5px solid var(--color-code-background);
|
||||||
width: 100%;
|
--shadow-host-border-radius: 8px;
|
||||||
height: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@ -2,10 +2,9 @@
|
|||||||
|
|
||||||
exports[`MermaidPreview > basic rendering > should match snapshot 1`] = `
|
exports[`MermaidPreview > basic rendering > should match snapshot 1`] = `
|
||||||
.c0 {
|
.c0 {
|
||||||
overflow: auto;
|
--shadow-host-background-color: transparent;
|
||||||
position: relative;
|
--shadow-host-border: unset;
|
||||||
width: 100%;
|
--shadow-host-border-radius: unset;
|
||||||
height: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@ -1,6 +1,12 @@
|
|||||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`PlantUmlPreview > basic rendering > should match snapshot 1`] = `
|
exports[`PlantUmlPreview > basic rendering > should match snapshot 1`] = `
|
||||||
|
.c0 {
|
||||||
|
--shadow-host-background-color: white;
|
||||||
|
--shadow-host-border: 0.5px solid var(--color-code-background);
|
||||||
|
--shadow-host-border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
data-source="plantuml"
|
data-source="plantuml"
|
||||||
@ -15,7 +21,7 @@ exports[`PlantUmlPreview > basic rendering > should match snapshot 1`] = `
|
|||||||
data-testid="preview-content"
|
data-testid="preview-content"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="plantuml-preview special-preview"
|
class="c0 plantuml-preview special-preview"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,6 +1,12 @@
|
|||||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`SvgPreview > basic rendering > should match snapshot 1`] = `
|
exports[`SvgPreview > basic rendering > should match snapshot 1`] = `
|
||||||
|
.c0 {
|
||||||
|
--shadow-host-background-color: white;
|
||||||
|
--shadow-host-border: 0.5px solid var(--color-code-background);
|
||||||
|
--shadow-host-border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
data-source="svg"
|
data-source="svg"
|
||||||
@ -15,7 +21,7 @@ exports[`SvgPreview > basic rendering > should match snapshot 1`] = `
|
|||||||
data-testid="preview-content"
|
data-testid="preview-content"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="svg-preview special-preview"
|
class="c0 svg-preview special-preview"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user