Skip to content

Commit

Permalink
core: fix markdown tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Sep 7, 2024
1 parent 2679ac5 commit 1623b99
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions packages/core/__tests__/__snapshots__/onenote-packed.snapshot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
"60c91e178c38c7c36dfeaedc4bd92d91/note.json",
"be89028c7b3d2616995c78d20af93989/note.json",
"c38809cc1ecd400b01a7e7bd2f2600c3/note.json",
"0f741e53b2b0d2694e92ca50acaca479/note.json",
"d7d3f020bf2e1dfc781ad05174b87deb/note.json",
"d10f5e2b060f0d34913c85d736158158/note.json",
"fbb72b9113e37aa132a706bcc645d043/note.json",
"7eea2e35aac6661380e865884e509eef/note.json",
"91354d44a08c5ad882377264f0dea28b/note.json",
"dea8e560b8075df0194b39c5adcfc0ea/note.json",
"d694c7146269127cfbb02f12a045f8e6/note.json",
"70be0e5d11e4126aed9b33f601cb86b8/note.json",
"metadata.json"
]
2 changes: 1 addition & 1 deletion packages/core/__tests__/markdown.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function google() {
<co-co>hello</co-co>
\`\`\``)
).toBe(
`<pre class="language-javascript"><code class="language-javascript">function google() {<br/>}<br/><br/>&lt;html&gt;good&lt;/html&gt;<br/>&lt;COmponent&gt;{() =&gt; {}}&lt;/Component&gt;<br/>&lt;co-co&gt;hello&lt;/co-co&gt;</code></pre>`
`<pre class="language-javascript"><code class="language-javascript">function google() {<br/>}<br/><br/>&lt;html&gt;good&lt;/html&gt;<br/>&lt;COmponent&gt;{() =&gt; {}}&lt;/Component&gt;<br/>&lt;co-co&gt;hello&lt;/co-co&gt;<br/></code></pre>`
);
});

Expand Down

0 comments on commit 1623b99

Please sign in to comment.