Skip to content

fix(admin): make shipping methods input optional to avoid error #307

fix(admin): make shipping methods input optional to avoid error

fix(admin): make shipping methods input optional to avoid error #307

Triggered via pull request October 4, 2024 10:31
Status Failure
Total duration 2m 20s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors
bundlewatch
Argument of type 'DefineProps<LooseRequired<CheckboxGroupProps<T>>, [T] extends [boolean | undefined] ? "modelValue" : never>' is not assignable to parameter of type 'CheckboxGroupProps<CheckboxGroupModelValue>'.
bundlewatch
Type 'Ref<boolean>' is not assignable to type 'Booleanish | undefined'.
bundlewatch
Type 'Ref<boolean>' is not assignable to type 'Booleanish | undefined'.
bundlewatch
Argument of type 'DefineProps<LooseRequired<CheckboxInputProps<T>>, [T] extends [boolean | undefined] ? "modelValue" : never>' is not assignable to parameter of type 'PdkElementProps<unknown>'.
bundlewatch
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>'.
bundlewatch
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>>>'.
bundlewatch
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>'.
bundlewatch
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>'.
bundlewatch
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>>>'.
bundlewatch
Argument of type 'DropOffInputEmits' is not assignable to parameter of type '(name: "update:modelValue", ...args: unknown[]) => void'.
src/pdk/instance/plugins/createRegisterComponentsPlugin.spec.ts > createRegisterComponentsPlugin > registers components with prefix: apps/admin/src/pdk/instance/plugins/createRegisterComponentsPlugin.spec.ts#L56
AssertionError: expected [ 'PdkBox', 'PdkButton', …(39) ] to deeply equal [ 'PdkBox', 'PdkButton', …(38) ] - Expected + Received Array [ "PdkBox", "PdkButton", "PdkCheckboxGroup", "PdkCheckboxInput", "PdkCodeEditor", "PdkCol", "PdkCurrencyInput", "PdkDropOffInput", "PdkDropdownButton", "PdkFormGroup", "PdkHeading", "PdkIcon", "PdkImage", "PdkLink", "PdkLoader", "PdkModal", "PdkMultiSelectInput", "PdkNotification", "PdkNumberInput", "PdkRadioGroup", "PdkRadioInput", "PdkRow", "PdkSelectInput", "PdkTabNavButton", "PdkTable", "PdkTextArea", "PdkTextInput", "PdkTimeInput", "PdkToggleInput", "PdkTriStateInput", + "PdkShippingMethodsInput", "PdkBadge", "PdkButtonGroup", "PdkPluginSettingsWrapper", "PdkSettingsDivider", "PdkTabNavButtonWrapper", "PdkTabNavContentWrapper", "PdkTableCol", "PdkTableRow", "PdkConceptBoxWrapper", "PdkShipmentLabelWrapper", ] ❯ src/pdk/instance/plugins/createRegisterComponentsPlugin.spec.ts:56:34
src/pdk/instance/plugins/createRegisterComponentsPlugin.spec.ts > createRegisterComponentsPlugin > registers components without prefix: apps/admin/src/pdk/instance/plugins/createRegisterComponentsPlugin.spec.ts#L56
AssertionError: expected [ 'PdkBox', 'PdkButton', …(39) ] to deeply equal [ 'PdkBox', 'PdkButton', …(38) ] - Expected + Received Array [ "PdkBox", "PdkButton", "PdkCheckboxGroup", "PdkCheckboxInput", "PdkCodeEditor", "PdkCol", "PdkCurrencyInput", "PdkDropOffInput", "PdkDropdownButton", "PdkFormGroup", "PdkHeading", "PdkIcon", "PdkImage", "PdkLink", "PdkLoader", "PdkModal", "PdkMultiSelectInput", "PdkNotification", "PdkNumberInput", "PdkRadioGroup", "PdkRadioInput", "PdkRow", "PdkSelectInput", "PdkTabNavButton", "PdkTable", "PdkTextArea", "PdkTextInput", "PdkTimeInput", "PdkToggleInput", "PdkTriStateInput", + "PdkShippingMethodsInput", "PdkBadge", "PdkButtonGroup", "PdkPluginSettingsWrapper", "PdkSettingsDivider", "PdkTabNavButtonWrapper", "PdkTabNavContentWrapper", "PdkTableCol", "PdkTableRow", "PdkConceptBoxWrapper", "PdkShipmentLabelWrapper", ] ❯ src/pdk/instance/plugins/createRegisterComponentsPlugin.spec.ts:56:34
test / test
Process completed with exit code 1.