bug: Ensure q:key is included when a user adds a new key #16667
ci.yml
on: pull_request
Setup
7s
Lint Package
1m 5s
Matrix: build-bindings
Matrix: E2E Tests
Matrix: E2E CLI Tests
All requirements are met
0s
Trigger Qwik City E2E
0s
Annotations
3 errors
packages/qwik/src/core/render/dom/render.unit.tsx > should render a component with scoped styles:
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">
+ <div q:key="a" class="⭐️ml52vk-0">
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:239:3
|
Unit Tests
Process completed with exit code 1.
|
All requirements are met
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
artifact-create-qwik
|
1.66 MB |
|
artifact-eslint-plugin-qwik
|
29.7 KB |
|
artifact-qwik
|
15.2 MB |
|
artifact-qwikcity
|
560 KB |
|
artifact-qwiklabs
|
19.8 KB |
|
artifact-qwikreact
|
9.92 KB |
|