Open iamgabrielma opened 2 months ago
From the refactor on https://github.com/woocommerce/woocommerce-ios/pull/13211#discussion_r1661382406 we can now test the expected functionality of this bit. A starter list can be found in TotalsViewModelTests:
TotalsViewModelTests
func test_isSyncingOrder() {} func test_startSyncOrder() {} func test_stopSyncOrder() {} func test_order() {} func test_formattedPrice() {} func test_formattedOrderTotalPrice() {} func test_formattedOrderTotalTaxPrice() {} func test_areAmountsFullyCalculated() {} func test_clearOrder() {} func test_setOrder() {}
Thanks for reporting! 👍
From the refactor on https://github.com/woocommerce/woocommerce-ios/pull/13211#discussion_r1661382406 we can now test the expected functionality of this bit. A starter list can be found in
TotalsViewModelTests
: