Skip to content

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

Codecov / codecov/project succeeded Jun 28, 2024 in 1s

66.16% (+0.06%) compared to 2092c5f

View this Pull Request on Codecov

66.16% (+0.06%) compared to 2092c5f

Details

Codecov Report

Attention: Patch coverage is 65.57377% with 42 lines in your changes missing coverage. Please review.

Project coverage is 66.16%. Comparing base (2092c5f) to head (7e91e95).

Current head 7e91e95 differs from pull request most recent head 8f3525c

Please upload reports for the commit 8f3525c to get more accurate results.

Files Patch % Lines
...tions/src/defaults/defaultUpdateDeliveryOptions.ts 27.77% 13 Missing ⚠️
...checkout-common/src/defaults/defaultGetFormData.ts 36.36% 7 Missing ⚠️
...kout-common/src/utils/getEnabledShippingMethods.ts 33.33% 6 Missing ⚠️
...t-common/src/defaults/defaultHasDeliveryOptions.ts 50.00% 4 Missing ⚠️
...-delivery-options/src/utils/getResolvedSettings.ts 20.00% 4 Missing ⚠️
...very-options/src/defaults/defaultGetPackageType.ts 86.36% 0 Missing and 3 partials ⚠️
.../checkout-common/src/defaults/defaultFormChange.ts 88.88% 0 Missing and 1 partial ⚠️
...ckout-common/src/defaults/defaultGetAddressType.ts 75.00% 0 Missing and 1 partial ⚠️
...heckout-common/src/listeners/updateCheckoutForm.ts 66.66% 0 Missing and 1 partial ⚠️
libs/checkout-common/src/types/checkout.types.ts 83.33% 0 Missing and 1 partial ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #212      +/-   ##
==========================================
+ Coverage   66.10%   66.16%   +0.06%     
==========================================
  Files         686      695       +9     
  Lines       18809    18905      +96     
  Branches      711      719       +8     
==========================================
+ Hits        12433    12508      +75     
- Misses       5685     5708      +23     
+ Partials      691      689       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.