/* tslint:disable:no-unused-variable */ import { TestBed, async } from '@angular/core/testing'; import { MatchFilter } from './matchFilter.pipe'; describe('Pipe: MatchFilter', () => { it('create a pipe', () => { let pipe = new MatchFilter(); expect(pipe).toBeTruthy(); }); it('test engine', () => { let pipe = new MatchFilter(); expect(pipe.transform([{'name':'Foo'},{'name':'Boo'}], [{'name' : 'Boo'}])).toEqual([{'name':'Boo'}]); }); });