Skip to content

Fix the skipped test cases in the PreTeXt package #286

Fix the skipped test cases in the PreTeXt package

Fix the skipped test cases in the PreTeXt package #286

Triggered via pull request August 10, 2024 04:44
Status Failure
Total duration 7m 3s
Artifacts

on-pull-request.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

7 errors
packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts > unified-latex-to-pretext:unified-latex-to-pretext > Can wrap in <p>...</p> tags: packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts#L204
AssertionError: expected '<p>a</p>\n<section><title>foo</title>…' to deeply equal '<p>a</p>\n<section>\n <title>foo</ti…' - Expected + Received <p>a</p> - <section> - <title>foo</title> - <p>b</p> - <p>c</p> - </section> + <section><title>foo</title></section> ❯ packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts:204:37
packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts > unified-latex-to-pretext:unified-latex-to-pretext > replaces paragraphs: packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts#L276
AssertionError: expected '<paragraphs><title>Important.</title>…' to deeply equal '\n <pargraphs><title>I…' - Expected + Received + <paragraphs><title>Important.</title></paragraphs> - <pargraphs><title>Important.</title> Paragraph</paragraphs> - ❯ packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts:276:36
build (20.x)
Process completed with exit code 1.
build (18.x)
The job was canceled because "_20_x" failed.
packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts > unified-latex-to-pretext:unified-latex-to-pretext > Can wrap in <p>...</p> tags: packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts#L204
AssertionError: expected '<p>a</p>\n<section><title>foo</title>…' to deeply equal '<p>a</p>\n<section>\n <title>foo</ti…' - Expected + Received <p>a</p> - <section> - <title>foo</title> - <p>b</p> - <p>c</p> - </section> + <section><title>foo</title></section> ❯ packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts:204:37
packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts > unified-latex-to-pretext:unified-latex-to-pretext > replaces paragraphs: packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts#L276
AssertionError: expected '<paragraphs><title>Important.</title>…' to deeply equal '\n <pargraphs><title>I…' - Expected + Received + <paragraphs><title>Important.</title></paragraphs> - <pargraphs><title>Important.</title> Paragraph</paragraphs> - ❯ packages/unified-latex-to-pretext/tests/unified-latex-to-pretext.test.ts:276:36
build (18.x)
Process completed with exit code 1.