Skip to content

fix(lint): remove control-regex placeholders and unused import #179

fix(lint): remove control-regex placeholders and unused import

fix(lint): remove control-regex placeholders and unused import #179

Triggered via push March 4, 2026 07:23
Status Failure
Total duration 41s
Artifacts

ci.yml

on: push
build-test-lint
36s
build-test-lint
Fit to window
Zoom out
Zoom in

Annotations

5 errors
build-test-lint
Process completed with exit code 1.
tests/shared-utils-cloze-math.test.ts > processClozeForMath > converts inline $$...$$ to $...$ when line has surrounding text: tests/shared-utils-cloze-math.test.ts#L39
AssertionError: expected 'Identity: $\sin^2 x + \cos^2 x = \und…' to be 'Identity: $\sin^2 x + \cos^2 x = \tex…' // Object.is equality Expected: "Identity: $\sin^2 x + \cos^2 x = \text{______}$ always." Received: "Identity: $\sin^2 x + \cos^2 x = \underline{\phantom{1}}$ always." ❯ tests/shared-utils-cloze-math.test.ts:39:19
tests/shared-utils-cloze-math.test.ts > processClozeForMath > uses markdown-style replacements outside math: tests/shared-utils-cloze-math.test.ts#L31
AssertionError: expected 'The identity is <span class="bc sprou…' to be 'The identity is ______.' // Object.is equality Expected: "The identity is ______." Received: "The identity is <span class="bc sprout-cloze-blank hidden-cloze" style="--sprout-cloze-width:30px"></span>." ❯ tests/shared-utils-cloze-math.test.ts:31:19
tests/shared-utils-cloze-math.test.ts > processClozeForMath > only blanks/reveals the target cloze index: tests/shared-utils-cloze-math.test.ts#L21
AssertionError: expected '$$a=\underline{\phantom{1}}+2$$' to be '$$a=\text{______}+2$$' // Object.is equality Expected: "$$a=\text{______}+2$$" Received: "$$a=\underline{\phantom{1}}+2$$" ❯ tests/shared-utils-cloze-math.test.ts:21:19
tests/shared-utils-cloze-math.test.ts > processClozeForMath > keeps LaTeX valid for clozes with nested braces: tests/shared-utils-cloze-math.test.ts#L11
AssertionError: expected '$$x = \underline{\phantom{\frac{-b}{2…' to be '$$x = \text{______}$$' // Object.is equality Expected: "$$x = \text{______}$$" Received: "$$x = \underline{\phantom{\frac{-b}{2a}}}$$" ❯ tests/shared-utils-cloze-math.test.ts:11:19