Creating Mocks for Angular Unit Tests with ts-mockito, ts-mockery, and ng-mocks

Rebai Ahmed
Level Up Coding
Published in
8 min readFeb 20, 2023

--

Introduction:

Nowadays in software development, unit tests play a critical role to ensure your project quality and the code works as expected. One of the key aspects of unit tests is mocking which helps you to isolate your tests from external dependencies and simulate the behavior of your real objects.

--

--