Angular auto dependency mock
A Visual Studio Code extension that automatically generates most of the boilerplate code that a test file needs.
- Generates necessary imports and providers
- Generates all methods that are to be tested and puts them into nested describes
- Naviage into the desired file
- Press Ctrl + Shift + P to open the command prompt
- Execute command "Generate Code"
- Wait for extension to finish, bottom right indicator
- If the MockModule or MockProvider, says something like "it's being used as a value here", you need to update the import of that