From 30a15d3d7a429130146e3123eef0ef3bfd2a3782 Mon Sep 17 00:00:00 2001 From: Jeremy Wiebe Date: Thu, 18 Jul 2024 16:37:12 -0700 Subject: [PATCH] Remove test that's not necessary anymore --- .../perseus/src/__tests__/renderer.test.tsx | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/packages/perseus/src/__tests__/renderer.test.tsx b/packages/perseus/src/__tests__/renderer.test.tsx index ab3dfd75b2..4958d6221e 100644 --- a/packages/perseus/src/__tests__/renderer.test.tsx +++ b/packages/perseus/src/__tests__/renderer.test.tsx @@ -710,24 +710,6 @@ describe("renderer", () => { }); expect(container).toMatchSnapshot(); }); - - it("should replace deprecated alignment tags in inline math", async () => { - // Arrange - const question = { - content: - "$\\begin{align}\n2\\text{HCl}(\\text{aq})+\\text{Ca}(\\text{OH})_2(\\text{aq})\\rightarrow\\text{Ca}(\\text{s})+2\\text H_2\\text O(\\text l)+\\text{Cl}_2(\\text g)\n\\end{align}$", - images: {}, - widgets: {}, - } as const; - - // Act - renderQuestion(question); - - // Assert - expect( - screen.getByText(/\\begin\{aligned\}.*\\end\{aligned\}/), - ).toBeInTheDocument(); - }); }); // Note that we can't use `.each` here because the three props require