fix: viewer stuck on loading if ocis images are not available #72
Annotations
2 errors
tests/unit/App.spec.ts#L90
Error: Snapshot `App component > render markdown slides 1` mismatched
- Expected
+ Received
@@ -38,11 +38,11 @@
<h3 id="uploaded-image">Uploaded Image</h3>
<p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcIAAAHCCAYAAAB8GMlFAAAAAXNSR0IArs4c6QAAIABJREFUeF==" alt=""></p>
</section>
<section data-markdown="" data-markdown-parsed="true" style="top: 350px; display: none;" hidden="" aria-hidden="true" class="future">
<h3 id="occis-image">ocCIS Image</h3>
- <p><img src="blob:nodedata:0295bafb-5976-468a-a263-685a8872cb96" alt="cool"></p>
+ <p><img src="./cool.png" alt="cool"></p>
</section>
<section data-markdown="" data-markdown-parsed="true" style="top: 350px; display: none;" hidden="" aria-hidden="true" class="future">
<h3 id="code-block">Code block</h3>
<pre class="code-wrapper"><code data-highlighted="yes" class="hljs language-clean"><span class="hljs-keyword">code</span> block</code></pre>
</section>
❯ tests/unit/App.spec.ts:90:23
|
|
This job failed
Loading