-
Notifications
You must be signed in to change notification settings - Fork 33
Method Inject in test cause error #39
Copy link
Copy link
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels