UNPKG

generator-angular-blueprint

Version:

Yeoman angular generator that allows you to override global templates with your own!

18 lines (12 loc) 431 B
'use strict'; describe('<%= type %>:<%= cameledName %>', function () { // load the factory's module beforeEach(angular.mock.module('<%= appName %>')); let <%= cameledName %>; // initialize a new instance of the factory before each test beforeEach(inject(function ($injector) { <%= cameledName %> = $injector.get('<%= cameledName %>'); })); it('condition of test', function () { }); });