Skip to content

test: fix tests

test: fix tests #466

Triggered via push March 1, 2024 16:28
Status Failure
Total duration 3m 32s
Artifacts

push.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 1 warning
test / test
Argument of type 'DefineProps<LooseRequired<CheckboxGroupProps<T>>, [T] extends [boolean | undefined] ? "modelValue" : never>' is not assignable to parameter of type 'CheckboxGroupProps<CheckboxGroupModelValue>'.
test / test
Type 'Ref<boolean>' is not assignable to type 'Booleanish | undefined'.
test / test
Type 'Ref<boolean>' is not assignable to type 'Booleanish | undefined'.
test / test
Argument of type 'DefineProps<LooseRequired<CheckboxInputProps<T>>, [T] extends [boolean | undefined] ? "modelValue" : never>' is not assignable to parameter of type 'PdkElementProps<unknown>'.
test / test
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Record<0 | 1 | 2 | 3 | 4 | 5 | 6, boolean>'.
test / test
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Record<0 | 1 | 2 | 3 | 4 | 5 | 6, ElementInstance<unknown, PdkElementProps<unknown>>>'.
test / test
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Record<0 | 1 | 2 | 3 | 4 | 5 | 6, boolean>'.
test / test
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Record<0 | 1 | 2 | 3 | 4 | 5 | 6, string>'.
test / test
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Record<0 | 1 | 2 | 3 | 4 | 5 | 6, ElementInstance<unknown, PdkElementProps<unknown>>>'.
test / test
Argument of type 'DropOffInputEmits' is not assignable to parameter of type '(name: "update:modelValue", ...args: unknown[]) => void'.
src/__tests__/testComponents.spec.ts > DropdownButton > DropdownButton > can be disabled: node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js#L1574
Error: Cannot call attributes on an empty DOMWrapper. ❯ Object.get ../../node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:1574:27 ❯ ../admin-component-tests/src/components/runDropDownButtonTest.ts:49:19
src/__tests__/testComponents.spec.ts > Modal > Modal > has slot #default: apps/admin-component-tests/src/common/runHasSlotTest.ts#L23
AssertionError: expected '<div class="modal-dialog" role="docum…' to include 'SLOT CONTENT 74' ❯ ../admin-component-tests/src/common/runHasSlotTest.ts:23:39
test / test
Process completed with exit code 1.
rebase-prs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: wow-actions/use-app-token@d7957e08172ca2e8e49b35b8d266ad585885edc7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.