Lately I have been unit testing a lot of AngularJS scripts and I have started working with concepts like spies and mocks intensively. If the module you are testing depends on other modules, you might test your controller functions with mocks and spies representing the functions taken from other modules and their services. But what […]
You might get the following error when running npm or grunt commands: A solution might be running “npm clear cache” and then „npm install“. Then you can run the other grunt tasks again.