Break Up LaTeX Source on Section Macros #231
Annotations
7 errors
packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts > unified-latex-to-pretext:break-on-boundaries > can break on divisions in nested groups:
packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts#L109
AssertionError: expected { messages: [ …(2) ] } to deeply equal { messages: [ …(2) ] }
- Expected
+ Received
Object {
"messages": Array [
- "Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subsection{Intro}description.\\subsubsection{body}more text.{\\subparagraph{Conclusion}Conclusion.}} }",
"Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subparagraph{Conclusion}Conclusion.} }",
+ "Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subsection{Intro}description.\\subsubsection{body}more text.\\subparagraph{Conclusion}Conclusion.} }",
],
}
❯ packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts:109:40
|
packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts > unified-latex-to-pretext:break-on-boundaries > doesn't break on groups without a division as an immediate child:
packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts#L133
AssertionError: expected { messages: [ …(2) ] } to deeply equal { messages: [ …(2) ] }
- Expected
+ Received
Object {
"messages": Array [
- "Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subsection{Intro}\\subsubsection{body}{$\\mathbb{N}$\\subparagraph{Conclusion}{no divisions 1}Conclusion.}} }",
"Warning: hoisted out of a group, which might break the LaTeX code. { group: {$\\mathbb{N}$\\subparagraph{Conclusion}{no divisions 1}Conclusion.} }",
+ "Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subsection{Intro}\\subsubsection{body}$\\mathbb{N}$\\subparagraph{Conclusion}{no divisions 1}Conclusion.} }",
],
}
❯ packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts:133:40
|
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/break-on-boundaries.test.ts > unified-latex-to-pretext:break-on-boundaries > can break on divisions in nested groups:
packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts#L109
AssertionError: expected { messages: [ …(2) ] } to deeply equal { messages: [ …(2) ] }
- Expected
+ Received
Object {
"messages": Array [
- "Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subsection{Intro}description.\\subsubsection{body}more text.{\\subparagraph{Conclusion}Conclusion.}} }",
"Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subparagraph{Conclusion}Conclusion.} }",
+ "Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subsection{Intro}description.\\subsubsection{body}more text.\\subparagraph{Conclusion}Conclusion.} }",
],
}
❯ packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts:109:40
|
packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts > unified-latex-to-pretext:break-on-boundaries > doesn't break on groups without a division as an immediate child:
packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts#L133
AssertionError: expected { messages: [ …(2) ] } to deeply equal { messages: [ …(2) ] }
- Expected
+ Received
Object {
"messages": Array [
- "Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subsection{Intro}\\subsubsection{body}{$\\mathbb{N}$\\subparagraph{Conclusion}{no divisions 1}Conclusion.}} }",
"Warning: hoisted out of a group, which might break the LaTeX code. { group: {$\\mathbb{N}$\\subparagraph{Conclusion}{no divisions 1}Conclusion.} }",
+ "Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subsection{Intro}\\subsubsection{body}$\\mathbb{N}$\\subparagraph{Conclusion}{no divisions 1}Conclusion.} }",
],
}
❯ packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts:133:40
|
build (18.x)
The operation was canceled.
|