woocommerce-ios
woocommerce-ios copied to clipboard
Add setUp and tearDown to ProductFormViewModel+ObservablesTests
From https://github.com/woocommerce/woocommerce-ios/pull/7680 so the PR doesn't become too big. We'd want to move common setup to setUp
and tearDown
methods.
We can use this same issue to explore related test cases and see if is needed as well.
Related files where we could do the same:
- ProductFormViewModel_ObservablesTests
- ProductFormViewModel_SaveTests
- ProductFormViewModel_ChangesTests