You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ngMockE2E points to incorrect script locations in docs #8038
The ngMockE2E module is not available in the locations shown, it is embedded in the angular-mocks.js script. Either make the file available as a separate script (which has the advantage of letting you use ngMockE2E in a production setting without forcing you to use the mock $log) or update the docs to point to the angular-mocks.js location.
I am not sure it is an exact duplicate, since @krimple would really like ngMockE2E to be packaged separately. This could be worth it. I expect that ngMockE2E it could be deprecated since ngScenario is being replaced by Protractor.
Activity
Narretz commentedon Jul 21, 2014
The installation block is automatically inserted by dgeni.ngdoc (module template. https://github.com/angular/dgeni-packages/blob/master/ngdoc/templates/api/module.template.html)
@petebacondarwin Is there a way to overwrite this behavior?
krimple commentedon Jul 21, 2014
Wouldn't it be best to split the ngMockE2E out into its own javascript file and then let it work as normal?
petebacondarwin commentedon Jul 21, 2014
This is related to and can be solved in the same way as #7284
pkozlowski-opensource commentedon Jul 21, 2014
Yeh, we should close this one as a duplicate of #7284. Sorry @petebacondarwin , kind of didn't have time to look more into this one :-/
petebacondarwin commentedon Jul 21, 2014
@pkozlowski-opensource - I am on it.
I am not sure it is an exact duplicate, since @krimple would really like ngMockE2E to be packaged separately. This could be worth it. I expect that ngMockE2E it could be deprecated since ngScenario is being replaced by Protractor.
feat(api-docs): allow packageName to be specified as a tag
feat(api-docs): allow packageName to be specified as a tag
shahata commentedon Jul 21, 2014
@petebacondarwin why is ngMockE2E less relevant with protractor than it was with ngScenario?
docs(ngMock) add `@packageName` tag to fix invalid module overview pages
docs(ngMock) add `@packageName` tag to fix invalid module overview pages
petebacondarwin commentedon Jul 21, 2014
Oops. @shahata - yes you are right. One can still implement ngMockE2E:$httpBackend if you want even if you use Protractor.