angular Create your Angular unit test spies automagically Creating a mock for unit testing is both necessary and tedious. Let's try and automate that away.