File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ describe('filter', function() {
9494
9595 beforeEach(module('phonecatFilters'));
9696
97-
9897 describe('checkmark', function() {
9998
10099 it('should convert boolean values to unicode checkmark or cross',
@@ -106,8 +105,12 @@ describe('filter', function() {
106105});
107106</pre>
108107
109- Note that you need to configure our test injector with the `phonecatFilters` module before any of
110- our filter tests execute.
108+ We must call `beforeEach(module('phonecatFilters'))` before any of
109+ our filter tests execute. This call loads our `phonecatFilters` module into the injector
110+ for this test run.
111+
112+ Note that we call the helper function, `inject(function(checkmarkFilter) { ... })`, to get
113+ access to the filter that we want to test. See {@link api/angular.mock.inject angular.mock.inject()}.
111114
112115You should now see the following output in the Karma tab:
113116
You can’t perform that action at this time.
0 commit comments