test: update snapshots

This commit is contained in:
one 2025-08-15 16:31:23 +08:00
parent 4c81443930
commit a49364bde0
4 changed files with 20 additions and 10 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>