UNPKG

generator-fountain-angular2

Version:

Yeoman Fountain generator to scaffold a webapp with Angular 2 written in ES6 (Babel), TypeScript through Webpack or SystemJS including tools Gulp 4, ESLint, Browsersync and Karma

13 lines (10 loc) 342 B
import {<%- className %>} from './<%- name %>'; import {inject, addProviders} from '@angular/core/testing'; describe('<%- pipeName %> pipe', () => { beforeEach(() => { addProviders([<%- className %>]); }); it('should...', inject([<%- className %>], pipe => { expect(pipe.transform('fountain')).toEqual('FOUNTAIN'); })); });