Skip to content

next: Svelte 5

next: Svelte 5 #854

Triggered via pull request April 24, 2024 23:20
@huntabytehuntabyte
synchronize #469
next
Status Failure
Total duration 56s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Lint
Process completed with exit code 1.
src/tests/accordion/Accordion.spec.ts > accordion - single > has no accessibility violations: packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L65
Error: expect(received).toHaveNoViolations(expected) Expected the HTML found at $('#bits-1') to have no violations: <div data-testid="root" id="bits-1" data-orientation="vertical" aria-orientation="vertical" accordion-root=""> Received: "Elements must only use allowed ARIA attributes (aria-allowed-attr)" Fix all of the following: ARIA attribute is not allowed: aria-orientation="vertical" You can find more information on this issue here: https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI ❯ src/tests/accordion/Accordion.spec.ts:65:32
src/tests/accordion/Accordion.spec.ts > accordion - single > has bits data attrs: packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L75
Error: expect(element).toHaveAttribute("data-accordion-root") // element.hasAttribute("data-accordion-root") Expected the element to have attribute: data-accordion-root Received: null ❯ src/tests/accordion/Accordion.spec.ts:75:16
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#L160
AssertionError: expected +0 to be 1 // Object.is equality - Expected + Received - 1 + 0 ❯ src/tests/accordion/Accordion.spec.ts:160:28
src/tests/accordion/Accordion.spec.ts > accordion - multiple > has no accessibility violations: packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L330
Error: expect(received).toHaveNoViolations(expected) Expected the HTML found at $('#bits-139') to have no violations: <div data-testid="root" id="bits-139" data-orientation="vertical" aria-orientation="vertical" accordion-root=""> Received: "Elements must only use allowed ARIA attributes (aria-allowed-attr)" Fix all of the following: ARIA attribute is not allowed: aria-orientation="vertical" You can find more information on this issue here: https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI ❯ src/tests/accordion/Accordion.spec.ts:330:32
src/tests/accordion/Accordion.spec.ts > accordion - multiple > has bits data attrs: packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L340
Error: expect(element).toHaveAttribute("data-accordion-root") // element.hasAttribute("data-accordion-root") Expected the element to have attribute: data-accordion-root Received: null ❯ src/tests/accordion/Accordion.spec.ts:340:16
src/tests/accordion/Accordion.spec.ts > accordion - multiple > expands multiple items: packages/bits-ui/src/tests/accordion/Accordion.spec.ts#L425
AssertionError: expected +0 to be 4 // Object.is equality - Expected + Received - 4 + 0 ❯ src/tests/accordion/Accordion.spec.ts:425:28
src/tests/alert-dialog/AlertDialog.spec.ts > alert dialog > has no accessibility violations: node_modules/.pnpm/@testing-library+svelte@5.0.1_svelte@5.0.0-next.113/node_modules/@testing-library/svelte/src/pure.js#L94
Error: for Svelte 5, use `@testing-library/svelte/svelte5` ❯ SvelteTestingLibrary.renderComponent ../../node_modules/.pnpm/@testing-library+svelte@5.0.1_svelte@5.0.0-next.113/node_modules/@testing-library/svelte/src/pure.js:94:13 ❯ SvelteTestingLibrary.render ../../node_modules/.pnpm/@testing-library+svelte@5.0.1_svelte@5.0.0-next.113/node_modules/@testing-library/svelte/src/pure.js:65:28 ❯ src/tests/alert-dialog/AlertDialog.spec.ts:42:25
src/tests/alert-dialog/AlertDialog.spec.ts > alert dialog > has bits data attrs: node_modules/.pnpm/@testing-library+svelte@5.0.1_svelte@5.0.0-next.113/node_modules/@testing-library/svelte/src/pure.js#L94
Error: for Svelte 5, use `@testing-library/svelte/svelte5` ❯ SvelteTestingLibrary.renderComponent ../../node_modules/.pnpm/@testing-library+svelte@5.0.1_svelte@5.0.0-next.113/node_modules/@testing-library/svelte/src/pure.js:94:13 ❯ SvelteTestingLibrary.render ../../node_modules/.pnpm/@testing-library+svelte@5.0.1_svelte@5.0.0-next.113/node_modules/@testing-library/svelte/src/pure.js:65:28 ❯ src/tests/alert-dialog/AlertDialog.spec.ts:47:27
src/tests/alert-dialog/AlertDialog.spec.ts > alert dialog > has expected data attributes: node_modules/.pnpm/@testing-library+svelte@5.0.1_svelte@5.0.0-next.113/node_modules/@testing-library/svelte/src/pure.js#L94
Error: for Svelte 5, use `@testing-library/svelte/svelte5` ❯ SvelteTestingLibrary.renderComponent ../../node_modules/.pnpm/@testing-library+svelte@5.0.1_svelte@5.0.0-next.113/node_modules/@testing-library/svelte/src/pure.js:94:13 ❯ SvelteTestingLibrary.render ../../node_modules/.pnpm/@testing-library+svelte@5.0.1_svelte@5.0.0-next.113/node_modules/@testing-library/svelte/src/pure.js:65:28 ❯ setup src/tests/alert-dialog/AlertDialog.spec.ts:21:41 ❯ open src/tests/alert-dialog/AlertDialog.spec.ts:30:47 ❯ src/tests/alert-dialog/AlertDialog.spec.ts:66:33
src/tests/alert-dialog/AlertDialog.spec.ts > alert dialog > opens when the trigger is clicked: node_modules/.pnpm/@testing-library+svelte@5.0.1_svelte@5.0.0-next.113/node_modules/@testing-library/svelte/src/pure.js#L94
Error: for Svelte 5, use `@testing-library/svelte/svelte5` ❯ SvelteTestingLibrary.renderComponent ../../node_modules/.pnpm/@testing-library+svelte@5.0.1_svelte@5.0.0-next.113/node_modules/@testing-library/svelte/src/pure.js:94:13 ❯ SvelteTestingLibrary.render ../../node_modules/.pnpm/@testing-library+svelte@5.0.1_svelte@5.0.0-next.113/node_modules/@testing-library/svelte/src/pure.js:65:28 ❯ setup src/tests/alert-dialog/AlertDialog.spec.ts:21:41 ❯ open src/tests/alert-dialog/AlertDialog.spec.ts:30:47 ❯ src/tests/alert-dialog/AlertDialog.spec.ts:77:9
Run svelte-check
Process completed with exit code 1.