Skip to content

Commit f381dea

Browse files
authored
Merge pull request #3539 from Izzy-Snyder/issue-doc-typo-fix
fix: typo in "why write tests" section
2 parents 2b41306 + 65bce4b commit f381dea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contributor_docs/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ You can save a snapshot of what the HTML looks like when the component is render
107107
- Many of the existing components don't have tests yet, and you could write one :-) You can find a few suggested files to start with [in this section](#Files-to-start-with).
108108
- They are a good place to start if you're learning the codebase.
109109
- It benefits all future contributors by allowing them to check their changes for errors.
110-
- It increases usage: most code with only ever have a single invocation point, but this means that code might not be particularly robust and lead to bugs if a different developer reuses it in a different context. Writing tests increases the usage of the code in question and may improve the long-term durability, along with leading developers to refactor their code to be more usable. [[3]](#References)
110+
- It increases usage: most code will only ever have a single invocation point, but this means that code might not be particularly robust and lead to bugs if a different developer reuses it in a different context. Writing tests increases the usage of the code in question and may improve the long-term durability, along with leading developers to refactor their code to be more usable. [[3]](#References)
111111
- Testing lets you check your own work and feel more comfortable submitting PRs.
112112
- It catches easy-to-miss errors.
113113
- It is good practice for large projects.

0 commit comments

Comments
 (0)