Dany ParedesforDanywalls | Angular ♥ Webdanywalls4.hashnode.net·Dec 30, 2022Exploring the Uses of Mocks and Spies in Unit TestingA few days ago, my friend was writing tests for an Angular App with two dependencies and wanted to test his code. I suggested that he should Spy and Mock the dependencies. When deciding whether to use a Mock or a Spy, it is important to consider the ...2.1K readstestingTestingAdd a thoughtful commentNo comments yetBe the first to start the conversation.