Skip to content

Commit cc60129

Browse files
authored
Fix layout testing.md
1 parent 433d4be commit cc60129

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/scaling-up/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ Component tests should focus on the component's public interfaces rather than in
189189
</VTCodeGroupTab>
190190
</VTCodeGroup>
191191

192-
- **DON'T**
192+
**DON'T**
193193

194-
Don't assert the private state of a component instance or test the private methods of a component. Testing implementation details makes the tests brittle, as they are more likely to break and require updates when the implementation changes.
194+
- Don't assert the private state of a component instance or test the private methods of a component. Testing implementation details makes the tests brittle, as they are more likely to break and require updates when the implementation changes.
195195

196196
The component's ultimate job is rendering the correct DOM output, so tests focusing on the DOM output provide the same level of correctness assurance (if not more) while being more robust and resilient to change.
197197

0 commit comments

Comments
 (0)