diff --git a/.vscode/settings.json b/.vscode/settings.json index 28b8758f..925342c8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "editor.formatOnSave": true, - "cSpell.words": ["asyncable", "mindmap", "pako", "Serde", "serdes", "tailwindcss"], + "cSpell.words": ["asyncable", "KROKI", "mindmap", "pako", "Serde", "serdes", "tailwindcss"], "vitest.commandLine": "yarn test:unit", "vitest.enable": true, "testing.autoRun.mode": "rerun", diff --git a/src/env.d.ts b/src/env.d.ts index e3cf245e..8188f7aa 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -1,11 +1,11 @@ /// interface ImportMetaEnv { - readonly MERMAID_RENDERER_URL: string; - readonly MERMAID_KROKI_RENDERER_URL: string; - readonly MERMAID_CDN_URL: string; - readonly MERMAID_BASE_URL: string; - readonly MERMAID_LOCAL: boolean; + readonly MERMAID_RENDERER_URL?: string; + readonly MERMAID_KROKI_RENDERER_URL?: string; + readonly MERMAID_CDN_URL?: string; + readonly MERMAID_BASE_URL?: string; + readonly MERMAID_LOCAL?: boolean; // more env variables... } diff --git a/src/lib/components/Card/__snapshots__/card.test.ts.snap b/src/lib/components/Card/__snapshots__/card.test.ts.snap index eb662c95..c23d7e06 100644 --- a/src/lib/components/Card/__snapshots__/card.test.ts.snap +++ b/src/lib/components/Card/__snapshots__/card.test.ts.snap @@ -1,3 +1,3 @@ // Vitest Snapshot v1 -exports[`card.svelte > mounts 1`] = `"
TabTest
    title1
    title2
"`; +exports[`card.svelte > mounts 1`] = `"
TabTest
    title1
    title2
"`;