next: downgrade svelte #996
Annotations
12 errors
Lint
Process completed with exit code 1.
|
Run svelte-check
Process completed with exit code 1.
|
Unhandled error:
packages/bits-ui/src/lib/bits/select/components/select.svelte#L112
Svelte error: each_key_duplicate
Keyed each block has duplicate key at indexes 0 and 4
in visually-hidden.svelte
in select-native.svelte
in floating-layer.svelte
in select.svelte
in SelectTest.svelte
❯ src/lib/bits/select/components/select.svelte:112:31
This error originated in "src/tests/select/Select.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "selects item with the { } key". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/bits-ui/src/lib/bits/select/components/select.svelte#L112
Svelte error: each_key_duplicate
Keyed each block has duplicate key at indexes 0 and 4
in visually-hidden.svelte
in select-native.svelte
in floating-layer.svelte
in select.svelte
in SelectTest.svelte
❯ src/lib/bits/select/components/select.svelte:112:31
This error originated in "src/tests/select/Select.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "selects item with the {Enter} key". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/bits-ui/src/lib/bits/select/components/select.svelte#L112
Svelte error: each_key_duplicate
Keyed each block has duplicate key at indexes 0 and 4
in visually-hidden.svelte
in select-native.svelte
in floating-layer.svelte
in select.svelte
in SelectTest.svelte
❯ src/lib/bits/select/components/select.svelte:112:31
This error originated in "src/tests/select/Select.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "closes on escape keydown". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/bits-ui/src/lib/bits/select/components/select.svelte#L112
Svelte error: each_key_duplicate
Keyed each block has duplicate key at indexes 0 and 4
in visually-hidden.svelte
in select-native.svelte
in floating-layer.svelte
in select.svelte
in SelectTest.svelte
❯ src/lib/bits/select/components/select.svelte:112:31
This error originated in "src/tests/select/Select.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "closes on outside click". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/bits-ui/src/lib/bits/select/components/select.svelte#L112
Svelte error: each_key_duplicate
Keyed each block has duplicate key at indexes 0 and 4
in visually-hidden.svelte
in select-native.svelte
in floating-layer.svelte
in select.svelte
in SelectTest.svelte
❯ src/lib/bits/select/components/select.svelte:112:31
This error originated in "src/tests/select/Select.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "respects binding the `open` prop". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/bits-ui/src/lib/bits/select/components/select.svelte#L112
Svelte error: each_key_duplicate
Keyed each block has duplicate key at indexes 0 and 4
in visually-hidden.svelte
in select-native.svelte
in floating-layer.svelte
in select.svelte
in SelectTest.svelte
❯ src/lib/bits/select/components/select.svelte:112:31
This error originated in "src/tests/select/Select.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "selects items when clicked". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/bits-ui/src/lib/bits/select/components/select.svelte#L112
Svelte error: each_key_duplicate
Keyed each block has duplicate key at indexes 0 and 4
in visually-hidden.svelte
in select-native.svelte
in floating-layer.svelte
in select.svelte
in SelectTest.svelte
❯ src/lib/bits/select/components/select.svelte:112:31
This error originated in "src/tests/select/Select.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "allows items to be selected using the keyboard". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
src/tests/accordion/Accordion.spec.ts > accordion - single > displays content when an item is expanded:
packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L137
Error: expect(element).toHaveAttribute("data-state", "open") // element.getAttribute("data-state") === "open"
Expected the element to have attribute:
data-state="open"
Received:
data-state="closed"
❯ src/tests/accordion/Accordion.spec.ts:137:19
|
src/tests/accordion/Accordion.spec.ts > accordion - single > expands only one item at a time when `multiple` is false:
packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L155
Error: expect(element).toHaveAttribute("data-state", "open") // element.getAttribute("data-state") === "open"
Expected the element to have attribute:
data-state="open"
Received:
data-state="closed"
❯ src/tests/accordion/Accordion.spec.ts:155:19
|
src/tests/accordion/Accordion.spec.ts > accordion - single > expands when the trigger is focused and `Enter` key is pressed:
packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L180
Error: expect(element).toHaveAttribute("data-state", "open") // element.getAttribute("data-state") === "open"
Expected the element to have attribute:
data-state="open"
Received:
data-state="closed"
❯ src/tests/accordion/Accordion.spec.ts:180:19
|