Skip to content

Commit 602e0c0

Browse files
committed
fixup! [Blog Post] Mastering Angular Unit Testing: Best Practices and Tools
1 parent 82b1042 commit 602e0c0

File tree

1 file changed

+1
-1
lines changed
  • content/sonukapoor/posts/mastering-angular-unit-testing

1 file changed

+1
-1
lines changed

content/sonukapoor/posts/mastering-angular-unit-testing/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To make sure you can concentrate on the code that has to be tested, you must pro
3737

3838
### Disadvantages of not mocking
3939

40-
- You will be using the real implementation and are forced to mock all of its properties, methods, etc. You will end up in a rabbit hole, where you are suddenly mocking classes that several layer down the dependency tree.
40+
- You will be using the real implementation and are forced to mock all of its properties, methods, etc. You will end up in a rabbit hole, where you are suddenly mocking classes that are several layers down the dependency tree.
4141
- You will have to declare the nested components and provide all of its dependencies
4242
- It takes longer for your tests to execute since the complete dependency tree must be resolved first.
4343
- The state of your tests might not be correct.

0 commit comments

Comments
 (0)