Addressing comment on PR #1062 #52
Annotations
3 errors
|
tests/remarkDirectiveTypst.test.ts > remarkDirectiveTypst > should handle typst language code block:
packages/markdown/tests/remarkDirectiveTypst.test.ts#L133
Error: Snapshot `remarkDirectiveTypst > should handle typst language code block 1` mismatched
- Expected
+ Received
@@ -4,8 +4,8 @@
<div class="typst-loading">
<div class="typst-spinner"></div><span>typst-loading</span>
</div>
<div class="typst-preview"></div>
</div>
- <div class="buttons-container"><button class="copy">typst-copy</button><button class="download-pdf">typst-download-pdf</button></div><textarea class="typst-source hidden" style="display: none;">= Using typst language</textarea>
+ <div class="buttons-container"><button class="zoom-out">typst-zoom-out</button><button class="zoom-in">typst-zoom-in</button><button class="fit-width">typst-fit-width</button><button class="full-page">typst-full-page</button><button class="copy">typst-copy</button><button class="download-pdf">typst-download-pdf</button></div><textarea class="typst-source hidden" style="display: none;">= Using typst language</textarea>
</div>
"
❯ tests/remarkDirectiveTypst.test.ts:133:7
|
|
tests/remarkDirectiveTypst.test.ts > remarkDirectiveTypst > should default to preview mode:
packages/markdown/tests/remarkDirectiveTypst.test.ts#L83
Error: Snapshot `remarkDirectiveTypst > should default to preview mode 1` mismatched
- Expected
+ Received
@@ -4,8 +4,8 @@
<div class="typst-loading">
<div class="typst-spinner"></div><span>typst-loading</span>
</div>
<div class="typst-preview"></div>
</div>
- <div class="buttons-container"><button class="copy">typst-copy</button><button class="download-pdf">typst-download-pdf</button></div><textarea class="typst-source hidden" style="display: none;">= Default Mode</textarea>
+ <div class="buttons-container"><button class="zoom-out">typst-zoom-out</button><button class="zoom-in">typst-zoom-in</button><button class="fit-width">typst-fit-width</button><button class="full-page">typst-full-page</button><button class="copy">typst-copy</button><button class="download-pdf">typst-download-pdf</button></div><textarea class="typst-source hidden" style="display: none;">= Default Mode</textarea>
</div>
"
❯ tests/remarkDirectiveTypst.test.ts:83:7
|
|
tests/remarkDirectiveTypst.test.ts > remarkDirectiveTypst > should transform preview mode:
packages/markdown/tests/remarkDirectiveTypst.test.ts#L47
Error: Snapshot `remarkDirectiveTypst > should transform preview mode 1` mismatched
- Expected
+ Received
@@ -4,8 +4,8 @@
<div class="typst-loading">
<div class="typst-spinner"></div><span>typst-loading</span>
</div>
<div class="typst-preview"></div>
</div>
- <div class="buttons-container"><button class="copy">typst-copy</button><button class="download-pdf">typst-download-pdf</button></div><textarea class="typst-source hidden" style="display: none;">= Hello World!</textarea>
+ <div class="buttons-container"><button class="zoom-out">typst-zoom-out</button><button class="zoom-in">typst-zoom-in</button><button class="fit-width">typst-fit-width</button><button class="full-page">typst-full-page</button><button class="copy">typst-copy</button><button class="download-pdf">typst-download-pdf</button></div><textarea class="typst-source hidden" style="display: none;">= Hello World!</textarea>
</div>
"
❯ tests/remarkDirectiveTypst.test.ts:47:7
|