Skip to content
This repository was archived by the owner on Oct 26, 2025. It is now read-only.

Commit f258a12

Browse files
committed
update testing section for newly added directive test
1 parent 0d6f950 commit f258a12

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,7 @@ An example test is provided for the following types of AngularJS modules:
182182

183183
- `unit/controllers/example_spec.js`
184184
- `unit/services/example_spec.js`
185+
- `unit/directives/example_spec.js`
185186
- `unit/constants_spec.js`
186187

187-
Testing AngularJS directives becomes a bit more complex involving mock data and DOM traversal, and so has been omitted from this boilerplate. This can be read about in detail [here](http://newtriks.com/2013/04/26/how-to-test-an-angularjs-directive/).
188-
189188
All unit tests are run with `gulp unit`. When running unit tests, code coverage is simultaneously calculated and output as an HTML file to the `/coverage` directory.

0 commit comments

Comments
 (0)