fix(VListGroup): support return-object #20210
Annotations
6 errors
Run pnpm run test --project browser:
packages/vuetify/src/labs/VTreeview/__tests__/VTreeview.spec.browser.tsx#L304
Error: expect(element).toBeVisible()
Received element is not visible:
<div
aria-selected="false"
class="v-list-item v-list-item--link v-list-item--slim v-theme--light v-list-item--density-default v-list-item--one-line rounded-0 v-list-item--variant-text v-treeview-item v-list-group__header"
id="v-list-group--id-2"
tabindex="-2"
/>
β― labs/VTreeview/__tests__/VTreeview.spec.browser.tsx:304:21
β― labs/VTreeview/__tests__/VTreeview.spec.browser.tsx:303:15
|
Run pnpm run test --project browser:
packages/vuetify/src/labs/VTreeview/__tests__/VTreeview.spec.browser.tsx#L320
AssertionError: expected [ 1 ] to deeply equal [ ObjectContaining {"id": 1} ]
- Expected
+ Received
Array [
- ObjectContaining {
- "id": 1,
- },
+ 1,
]
β― labs/VTreeview/__tests__/VTreeview.spec.browser.tsx:320:29
|
Run pnpm run test --project browser:
packages/vuetify/src/labs/VTreeview/__tests__/VTreeview.spec.browser.tsx#L348
AssertionError: expected [ { id: 1, β¦(2) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "children": Array [
+ Object {
+ "children": Array [
+ Object {
+ "id": 201,
+ "title": "John",
+ },
+ Object {
+ "id": 202,
+ "title": "Kael",
+ },
+ Object {
+ "id": 203,
+ "title": "Nekosaur",
+ },
+ Object {
+ "id": 204,
+ "title": "Jacek",
+ },
+ Object {
+ "id": 205,
+ "title": "Andrew",
+ },
+ ],
+ "id": 2,
+ "title": "Core team",
+ },
+ Object {
+ "children": Array [
+ Object {
+ "id": 301,
+ "title": "Mike",
+ },
+ Object {
+ "id": 302,
+ "title": "Hunt",
+ },
+ ],
+ "id": 3,
+ "title": "Administrators",
+ },
+ Object {
+ "id": 4,
+ "title": "Other contributors",
+ },
+ ],
+ "id": 1,
+ "title": "Vuetify Human Resources",
+ },
+ ]
β― labs/VTreeview/__tests__/VTreeview.spec.browser.tsx:348:32
|
Run pnpm run test --project browser:
packages/vuetify/src/labs/VTreeview/__tests__/VTreeview.spec.browser.tsx#L373
AssertionError: expected [ { id: 1, β¦(2) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "children": Array [
+ Object {
+ "children": Array [
+ Object {
+ "id": 201,
+ "title": "John",
+ },
+ Object {
+ "id": 202,
+ "title": "Kael",
+ },
+ Object {
+ "id": 203,
+ "title": "Nekosaur",
+ },
+ Object {
+ "id": 204,
+ "title": "Jacek",
+ },
+ Object {
+ "id": 205,
+ "title": "Andrew",
+ },
+ ],
+ "id": 2,
+ "title": "Core team",
+ },
+ Object {
+ "children": Array [
+ Object {
+ "id": 301,
+ "title": "Mike",
+ },
+ Object {
+ "id": 302,
+ "title": "Hunt",
+ },
+ ],
+ "id": 3,
+ "title": "Administrators",
+ },
+ Object {
+ "id": 4,
+ "title": "Other contributors",
+ },
+ ],
+ "id": 1,
+ "title": "Vuetify Human Resources",
+ },
+ ]
β― labs/VTreeview/__tests__/VTreeview.spec.browser.tsx:373:32
|
Run pnpm run test --project browser:
packages/vuetify/src/labs/VTreeview/__tests__/VTreeview.spec.browser.tsx#L629
Error: expect(element).toBeVisible()
Received element is not visible:
<div
class="v-list-item-title"
/>
β― labs/VTreeview/__tests__/VTreeview.spec.browser.tsx:629:44
|
Run pnpm run test --project browser
Process completed with exit code 1.
|
Loading