generator-angular-blueprint
Version:
Yeoman angular generator that allows you to override global templates with your own!
20 lines (12 loc) • 428 B
JavaScript
;
describe('<%= type %>:<%= cameledName %>', function () {
// load the filter's module
beforeEach(angular.mock.module('<%= appName %>'));
var <%= cameledName %>;
// initialize a new instance of the filter before each test
beforeEach(inject(function ($injector) {
<%= cameledName %> = $injector.get('$filter')('<%= cameledName %>');
}));
it('should apply the filter', function () {
});
});