diff --git a/src/lib/components/chat/MarkdownRenderer.svelte.spec.ts b/src/lib/components/chat/MarkdownRenderer.svelte.spec.ts index 2e9bf6b5ccb..5036e4fa88a 100644 --- a/src/lib/components/chat/MarkdownRenderer.svelte.spec.ts +++ b/src/lib/components/chat/MarkdownRenderer.svelte.spec.ts @@ -92,15 +92,15 @@ describe("MarkdownRenderer", () => { const { baseElement } = render(MarkdownRenderer, { content: "```\n$(oo)^2$\n```" }); expect(baseElement.querySelectorAll(".katex")).toHaveLength(0); }); - it.todo("does not render latex in inline codes", () => { + it("does not render latex in inline codes", () => { const { baseElement } = render(MarkdownRenderer, { content: "`$oo` and `$bar`" }); expect(baseElement.querySelectorAll(".katex")).toHaveLength(0); }); - it.todo("does not render latex across multiple lines", () => { + it("does not render latex across multiple lines", () => { const { baseElement } = render(MarkdownRenderer, { content: "* $oo \n* $aa" }); expect(baseElement.querySelectorAll(".katex")).toHaveLength(0); }); - it.todo("renders latex with some < and > symbols", () => { + it("renders latex with some < and > symbols", () => { const { baseElement } = render(MarkdownRenderer, { content: "$foo < bar > baz$" }); expect(baseElement.querySelectorAll(".katex")).toHaveLength(1); }); diff --git a/vite.config.ts b/vite.config.ts index c5d310c2db3..b9a44e540a2 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -45,6 +45,7 @@ export default defineConfig({ test: { name: "node", include: ["src/**/*.spec.ts"], + exclude: ["src/**/*.svelte.spec.ts"], environment: "node", setupFiles: ["./scripts/setupTest.ts"], deps: { inline: ["@sveltejs/kit"] }, @@ -52,6 +53,7 @@ export default defineConfig({ }, }, { + extends: true, test: { name: "jsdom", include: ["src/**/*.svelte.spec.ts"],