Skip to content

refactor: use @vueuse/core useEventListener composable in order to remove listeners easier #2031

refactor: use @vueuse/core useEventListener composable in order to remove listeners easier

refactor: use @vueuse/core useEventListener composable in order to remove listeners easier #2031

Triggered via pull request October 5, 2024 11:30
Status Failure
Total duration 3m 10s
Artifacts

build.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
src/Combobox/Combobox.test.ts > given default Combobox > opening the popup > after selecting a value > should show value correctly: packages/radix-vue/src/Combobox/Combobox.test.ts#L84
AssertionError: expected '' to be 'Banana' // Object.is equality - Expected + Received - Banana ❯ src/Combobox/Combobox.test.ts:84:42
src/Combobox/Combobox.test.ts > given default Combobox > opening the popup > after selecting a value > should close the popup: packages/radix-vue/src/Combobox/Combobox.test.ts#L89
AssertionError: expected true to be falsy - Expected + Received - true + false ❯ src/Combobox/Combobox.test.ts:89:32
src/Combobox/Combobox.test.ts > given default Combobox > opening the popup > after selecting a value > should emit `update:modelValue` event: packages/radix-vue/src/Combobox/Combobox.test.ts#L93
AssertionError: expected undefined to be 'Banana' // Object.is equality - Expected: "Banana" + Received: undefined ❯ src/Combobox/Combobox.test.ts:93:64
src/Combobox/Combobox.test.ts > given default Combobox > opening the popup > after selecting a value > after opening the modal again > should focus on the selected value: packages/radix-vue/src/Combobox/Combobox.test.ts#L104
AssertionError: expected 'unchecked' to be 'checked' // Object.is equality Expected: "checked" Received: "unchecked" ❯ src/Combobox/Combobox.test.ts:104:54
src/Combobox/Combobox.test.ts > given default Combobox > opening the popup > after selecting a value > after opening the modal again > should render the icon: packages/radix-vue/src/Combobox/Combobox.test.ts#L109
AssertionError: expected '<div id="radix-vue-combobox-option-19…' to contain 'svg' - Expected + Received - svg + <div id="radix-vue-combobox-option-193" role="option" tabindex="-1" aria-labelledby="radix-vue-combobox-item-192" aria-selected="false" data-state="unchecked" class="text-[13px] leading-none text-grass11 rounded-[3px] flex items-center h-[25px] pr-[35px] pl-[25px] relative select-none data-[disabled]:text-mauve8 data-[disabled]:pointer-events-none data-[highlighted]:outline-none data-[highlighted]:bg-grass9 data-[highlighted]:text-grass1" data-radix-vue-combobox-item=""> + <!--v-if--><span>Banana</span> + </div> ❯ src/Combobox/Combobox.test.ts:109:36
src/Combobox/Combobox.test.ts > given a Combobox with multiple prop > opening the popup > after selecting a value > should emit `update:modelValue` event: packages/radix-vue/src/Combobox/Combobox.test.ts#L186
AssertionError: expected undefined to deeply equal [ 'Banana' ] - Expected: Array [ "Banana", ] + Received: undefined ❯ src/Combobox/Combobox.test.ts:186:64
src/Combobox/Combobox.test.ts > given a Combobox with object > opening the popup > if display-value provided > after selecting a value > should show searchTerm value: packages/radix-vue/src/Combobox/Combobox.test.ts#L276
AssertionError: expected '' to be 'Kenton Towne' // Object.is equality - Expected + Received - Kenton Towne ❯ src/Combobox/Combobox.test.ts:276:44
src/Combobox/Combobox.test.ts > given combobox in a form > after selecting option and clicking submit button > should trigger submit once: packages/radix-vue/src/Combobox/Combobox.test.ts#L325
AssertionError: expected { test: '' } to strictly equal { test: 'Banana' } - Expected + Received Object { - "test": "Banana", + "test": "", } ❯ src/Combobox/Combobox.test.ts:325:50
build
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/