bug: Ensure q:key is included when a user adds a new key #16666
Annotations
2 errors
Unit Tests:
packages/qwik/src/testing/expect-dom.tsx#L31
AssertionError: expected '<host q:version="dev" q:container="re…' to equal '<host q:version="dev" q:container="re…'
- Expected
+ Received
<host q:version="dev" q:container="resumed" q:render="dom-dev">
<style q:style="ml52vk-0" hidden="">
.stuff.⭐️ml52vk-0 {
color: red;
}
</style>
<!--qv -->
<div class="⭐️ml52vk-0">
- <div class="⭐️ml52vk-0 stuff" aria-hidden="true">
+ <div q:key="b" class="⭐️ml52vk-0 stuff" aria-hidden="true">
Hello
<button class="⭐️ml52vk-0">Toggle</button>
</div>
</div>
<!--/qv-->
</host>
❯ Module.expectDOM packages/qwik/src/testing/expect-dom.tsx:31:10
❯ packages/qwik/src/core/render/dom/render.unit.tsx:216:3
|
Unit Tests
Process completed with exit code 1.
|
Loading