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
@@ -2382,6 +2385,7 @@ Unit testing helps maintain clean code, as such I included some of my recommenda
2382
2385
2383
2386
*Why?*: Placing them side-by-side makes it easy to find them and easy to move them with the source code if you move the source.
2384
2387
2388
+
*Why?*: Having the spec nearby makes it easier for the source code reader to learn how the component is supposed to be used and to discover its known limitations.
2385
2389
2386
2390
*Why?*: Separating specs so they are not in a distributed build is easy with grunt or gulp.
0 commit comments