woocommerce-ios
woocommerce-ios copied to clipboard
[Woo POS] Unit tests for `TotalsViewModel`
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
:
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() {}