You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/essentials/easy-to-test.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Notice how this list does not include elements such as internal methods, interme
28
28
29
29
The rule of thumb is that **a test should not break on a refactor**, that is, when we change its internal implementation without changing its behavior. If that happens, the test might rely on implementation details.
30
30
31
-
For example, let's assume a basic Counter component that features a button to increment a counter. We could write the following test:
31
+
For example, let's assume a basic Counter component that features a button to increment a counter:
0 commit comments