Skip to content

Commit

Permalink
Remove test that's not necessary anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremywiebe committed Jul 18, 2024
1 parent b41157d commit 30a15d3
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions packages/perseus/src/__tests__/renderer.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30a15d3

Please sign in to comment.