Add code block copy button #1172
Annotations
2 errors
Run jest --testPathPattern packages/:
packages/bundle/src/__tests__/renderMarkdown.spec.js#L60
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
@@ -1,6 +1,6 @@
- <pre class="webchat__render-markdown__code-block"><webchat__code-block-copy-button data-value="{
+ <pre class="webchat__render-markdown__code-block"><webchat__code-block-copy-button class="undefined" data-alt-copied="undefined" data-alt-copy="undefined" data-value="{
"hello": "World!"
}
"></webchat__code-block-copy-button><code>{
"hello": "World!"
}
at Object.toBe (packages/bundle/src/__tests__/renderMarkdown.spec.js:60:7)
|
Run jest --testPathPattern packages/
Process completed with exit code 1.
|
Loading