Services tests are simplest ones. They just test that service methods do, what they are supposed to do, by sending a mock data and comparing returning data with expected data.
Components tests work similar, but there's elements content is compared instead.
Services tests are simplest ones. They just test that service methods do, what they are supposed to do, by sending a mock data and comparing returning data with expected data.
Components tests work similar, but there's elements content is compared instead.