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 has been archived by the owner on Apr 12, 2024. It is now read-only.
I'm not sure if my problem has to do with versioning or documentation.
I'm using angular 1.2.28 and my team has not yet moved to 1.3.
When I include 'ngMock' among my app's dependencies, the main page content is blank. When I remove 'ngMock', the page content is shown. Any idea what would cause this?
I'm just trying to set up unit tests and eventually set up protractor for e2e tests, but am just having some trouble.
Any help is appreciated!
Shawn
The text was updated successfully, but these errors were encountered:
Shawful
changed the title
Adding 'ngMock' as a dependency module removes my partial
Adding 'ngMock' as a dependency module removes my partial view
Jun 16, 2015
You are not really supposed to add ngMock as a dependency for your real site. It's used to make mocking of certain services easier in unit tests and should only be used there. For e2e tests, you would probably test against a real backend, or mock it on a different level from angular.
Hello,
I'm not sure if my problem has to do with versioning or documentation.
I'm using angular 1.2.28 and my team has not yet moved to 1.3.
When I include 'ngMock' among my app's dependencies, the main page content is blank. When I remove 'ngMock', the page content is shown. Any idea what would cause this?
I'm just trying to set up unit tests and eventually set up protractor for e2e tests, but am just having some trouble.
Any help is appreciated!
Shawn
The text was updated successfully, but these errors were encountered: