Do not test the internal implementation of the child components:
3 Matching Annotations
- Jun 2021
-
docs.gitlab.com docs.gitlab.com
-
-
docs.gitlab.com docs.gitlab.com
-
Don’t test the library
-
Testing the hasMetricTypes computed prop would seem like a given here. But to test if the computed property is returning the length of metricTypes, is testing the Vue library itself. There is no value in this, besides it adding to the test suite.
-