Skip to content

fix(checkout): correctly switch package type based on shipping methods

Codecov / codecov/patch failed Jun 28, 2024 in 0s

65.57% of diff hit (target 66.10%)

View this Pull Request on Codecov

65.57% of diff hit (target 66.10%)

Annotations

Check warning on line 11 in libs/checkout-common/src/defaults/defaultGetFormData.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/checkout-common/src/defaults/defaultGetFormData.ts#L5-L11

Added lines #L5 - L11 were not covered by tests

Check warning on line 8 in libs/checkout-common/src/defaults/defaultHasDeliveryOptions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/checkout-common/src/defaults/defaultHasDeliveryOptions.ts#L5-L8

Added lines #L5 - L8 were not covered by tests

Check warning on line 9 in libs/checkout-common/src/utils/getEnabledShippingMethods.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/checkout-common/src/utils/getEnabledShippingMethods.ts#L4-L9

Added lines #L4 - L9 were not covered by tests

Check warning on line 18 in libs/checkout-delivery-options/src/defaults/defaultUpdateDeliveryOptions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/checkout-delivery-options/src/defaults/defaultUpdateDeliveryOptions.ts#L6-L18

Added lines #L6 - L18 were not covered by tests

Check warning on line 16 in libs/checkout-delivery-options/src/utils/getResolvedSettings.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/checkout-delivery-options/src/utils/getResolvedSettings.ts#L13-L16

Added lines #L13 - L16 were not covered by tests