woocommerce-ios icon indicating copy to clipboard operation
woocommerce-ios copied to clipboard

Add setUp and tearDown to ProductFormViewModel+ObservablesTests

Open iamgabrielma opened this issue 2 years ago • 0 comments

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

iamgabrielma avatar Sep 09 '22 10:09 iamgabrielma