Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method Inject in test cause error #39

Open
Bedotech opened this issue Jan 16, 2017 · 1 comment
Open

Method Inject in test cause error #39

Bedotech opened this issue Jan 16, 2017 · 1 comment

Comments

@Bedotech
Copy link

If i scaffolding a new project and add a inject function li this:

  it('should exist', function() {
    console.log(inject());
    //expect(Validator).to.be.ok;
  });

and the type gulp, the tests fails with this error:

    Error: [$injector:modulerr] Failed to instantiate module ng due to:
TypeError: 'undefined' is not an object (evaluating 'Function.prototype.bind.apply')

Is related to this?

@jvandemo
Copy link
Owner

@Bedotech — Were you able to resolve this yet? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants