Skip to content

Commit 8cc173f

Browse files
committed
Update README.md
1 parent 67d04a5 commit 8cc173f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,9 @@ Con:
829829

830830
Here, a balance has to be found, unit-testing some key parts can be beneficial.
831831

832-
832+
<div align="right">
833+
<b><a href="#">↥ back to top</a></b>
834+
</div>
833835

834836
### Don't mock everything
835837

@@ -946,6 +948,10 @@ describe('when the user has already visited the page', () => {
946948

947949
The `MemoryStorage` used here does not persist data. Nice and easy, with no side effects.
948950

951+
<div align="right">
952+
<b><a href="#">↥ back to top</a></b>
953+
</div>
954+
949955
#### Takeaway
950956

951957
The idea to keep in mind is that *dependencies can still be "real" objects*. Don't mock everything because you can.

0 commit comments

Comments
 (0)