From 97f3b2bb55ca7519b3f120b5be6ef0759108bea0 Mon Sep 17 00:00:00 2001 From: Nahlee Naria Khan <95993773+renee-k@users.noreply.github.com> Date: Wed, 3 Jul 2024 20:43:10 -0400 Subject: [PATCH] fixed a failed test case --- .../tests/unified-latex-to-pretext.test.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts b/packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts index 2e6f1297..ecc57f9a 100644 --- a/packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts +++ b/packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts @@ -35,7 +35,7 @@ describe("unified-latex-to-pretext:unified-latex-to-pretext", () => { it.skip("wrap pars and streaming commands", () => { html = process("a\n\nb"); - expect(html).toEqual("
a
b
"); // CORRECT + expect(html).toEqual("a
b
"); // CORRECT html = process("\\bfseries a\n\nb"); expect(html).toEqual( @@ -272,8 +272,7 @@ describe("unified-latex-to-pretext:unified-latex-to-pretext", () => { // Custom labels are handled ast = process(`$a\\text{\\#}b$`); expect(normalizeHtml(ast)).toEqual( - // normalizeHtml(`x
y
z
` // ) - normalizeHtml( - `x
y
z
` - ) + normalizeHtml(`x
y
z
`) ); }); it.skip("replaces command inside argument", () => {