next: Select #969
Annotations
12 errors
Lint
Process completed with exit code 1.
|
Run svelte-check
Process completed with exit code 1.
|
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
|
src/tests/accordion/Accordion.spec.ts > accordion - single > expands when the trigger is focused and `Space` key is pressed:
packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L201
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:201:19
|
src/tests/accordion/Accordion.spec.ts > accordion - single > updates the `bind:value` prop when the value changes:
packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L302
Error: expect(element).toHaveTextContent()
Expected element to have text content:
item-1
Received:
❯ src/tests/accordion/Accordion.spec.ts:302:17
|
src/tests/accordion/Accordion.spec.ts > accordion - single > handles programatic changes to the "value" prop:
packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L318
Error: expect(element).toHaveTextContent()
Expected element to have text content:
item-2
Received:
❯ src/tests/accordion/Accordion.spec.ts:318:17
|
src/tests/accordion/Accordion.spec.ts > accordion - multiple > displays content when an item is expanded:
packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L387
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:387:19
|
src/tests/accordion/Accordion.spec.ts > accordion - multiple > expands multiple items:
packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L406
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:406:19
|
src/tests/accordion/Accordion.spec.ts > accordion - multiple > expands when the trigger is focused and `Enter` key is pressed:
packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L431
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:431:19
|
src/tests/accordion/Accordion.spec.ts > accordion - multiple > expands when the trigger is focused and `Space` key is pressed:
packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L452
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:452:19
|