feat: intentional error for testing #3
Closed
Annotations
4 errors
|
|
|
tests/wrapMatches.test.tsx#L55
AssertionError: expected '<p>Let\'s <em>highlight</em> multiple…' to be '<p>Let\'s <em>highlight</em> multiple…' // Object.is equality
Expected: "<p>Let's <em>highlight</em> multiple <mark>words</mark>.</p>"
Received: "<p>Let's <em>highlight</em> multiple <em>highlight</em><mark>words</mark>.<em>highlight</em></p>"
❯ tests/wrapMatches.test.tsx:55:31
|
|
tests/wrapMatches.test.tsx#L39
AssertionError: expected '<p>Let\'s <em>multiple</em><mark>high…' to be '<p>Let\'s <mark>highlight</mark> <em>…' // Object.is equality
Expected: "<p>Let's <mark>highlight</mark> <em>multiple</em> words.</p>"
Received: "<p>Let's <em>multiple</em><mark>highlight</mark> <em>multiple</em> words.<em>multiple</em><mark>highlight</mark></p>"
❯ tests/wrapMatches.test.tsx:39:31
|
|
tests/wrapMatches.test.tsx#L22
AssertionError: expected [ 'Let\'s ', { …(9) }, …(2) ] to deeply equal [ 'Let\'s ', { …(9) }, ' some words.' ]
- Expected
+ Received
@@ -2,6 +2,9 @@
"Let's ",
<mark>
highlight
</mark>,
" some words.",
+ <mark>
+ highlight
+ </mark>,
]
❯ tests/wrapMatches.test.tsx:22:18
|
The logs for this run have expired and are no longer available.
Loading