Before we dive deep into custom directives testing, let's see how to configure and use the WebStorm. But first, let's build the baseline code for the next recipes.
As usual, we are still using the generator-angm to build the baseline code.
directive-unit-testing. Open your terminal window and type:
directive-unit-testingand press Enter, Enter, Enter. At the end of the command, we can see all the versions installed; you will note that we are using the last stable version from AngularJS at the time of writing:
bower install json3#3.3.1 bower install es5-shim#3.1.0 bower install bootstrap#3.3.5 bower install angular-resource#1.4.7 bower ...