import { Pipe , PipeTransform } from '@angular/core' ; export function MockPipe ( name ) { @ Pipe ( { name } ) class MockPipeImpl implements PipeTransform { transform ( input , ... args ) { return input ; } } return MockPipeImpl ; }