jvandemo / jvandemo/generator-angularjs-library
Method Inject in test cause error
Open
- Dominant language
- JavaScript
- Stars
- 116
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
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](https://github.com/angular/angular.js/issues/13794)?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.