From 20e137bf1fad44b9d6a22592e076e7598d30b417 Mon Sep 17 00:00:00 2001 From: Jason Siefken Date: Mon, 19 Feb 2024 13:28:26 -0500 Subject: [PATCH] Update snapshots --- .../__snapshots__/doc-examples.test.ts.snap | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/packages/unified-latex-cli/tests/__snapshots__/doc-examples.test.ts.snap b/packages/unified-latex-cli/tests/__snapshots__/doc-examples.test.ts.snap index ca93c6c4..2d9b826b 100644 --- a/packages/unified-latex-cli/tests/__snapshots__/doc-examples.test.ts.snap +++ b/packages/unified-latex-cli/tests/__snapshots__/doc-examples.test.ts.snap @@ -1,9 +1,7 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`unified-latex-doc-examples > example count-macros.ts 1`] = ` -"Building in mode: development. - -Macro statistics: +"Macro statistics: All macros: { textbf: [ '\\\\\\\\textbf{an}', '\\\\\\\\textbf{amazing}' ], @@ -20,18 +18,14 @@ Math mode macros: [ '^', 'sum', '_', '^', 'infty', 'frac', '^' ] `; exports[`unified-latex-doc-examples > example custom-macros.ts 1`] = ` -"Building in mode: development. - -\\\\textbf{custom} \\\\abc +"\\\\textbf{custom} \\\\abc \\\\textbf{custom} \\\\abc{macro} \\\\textbf \\\\abc{macro} " `; exports[`unified-latex-doc-examples > example expanding-or-replacing-macros.ts 1`] = ` -"Building in mode: development. - -\\\\newcommand{\\\\abc}[1]{ABC} My \\\\textbf{custom} \\\\abc{macro}. +"\\\\newcommand{\\\\abc}[1]{ABC} My \\\\textbf{custom} \\\\abc{macro}. My \\\\textbf{custom} ABC. \\\\abc{fun} $x=ABC$ My \\\\textbf{custom} ABC. @@ -40,18 +34,14 @@ exports[`unified-latex-doc-examples > example expanding-or-replacing-macros.ts 1 `; exports[`unified-latex-doc-examples > example ignore-defaults.ts 1`] = ` -"Building in mode: development. - -\\\\textbf \\\\abc +"\\\\textbf \\\\abc ^ \\\\color{blue} \\\\textbf {foo} " `; exports[`unified-latex-doc-examples > example using-unified.ts 1`] = ` -"Building in mode: development. - -{ +"{ type: 'macro', content: 'textbf', position: {