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
I had to change the karma.conf.js section on files to this:
// list of files / patterns to load in the browser
files = [
JASMINE,
JASMINE_ADAPTER,
'components/angular/angular.js',
'components/angular-mocks/angular-mocks.js',
'app/scripts/*.js',
'app/scripts/**/*.js',
'test/spec/**/*.js'
];
The unit tests ran fine after this but e2e tests still fail.
TypeError: 'undefined' is not a function (evaluating '$document.injector()')
The text was updated successfully, but these errors were encountered:
I was experiencing the same problem. I was able to fix it by setting the proxies and urlRoot properties in the karma.conf.js file as mentioned in this blog post
I had to change the karma.conf.js section on files to this:
The unit tests ran fine after this but e2e tests still fail.
The text was updated successfully, but these errors were encountered: