Skip to content

e2e test does not run #2

@saadfarooq

Description

@saadfarooq

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()')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions