After upgrading from Angular 7 to Angular 8 my pipe test stopped to work: TypeError: undefined is not iterable
问题 I am using Jest to unit test my Angular8 components. I performed upgrade from A7 where the tests passed. Now I get an error: FAIL src/app/core/pipes/client/client.pipe.spec.ts (21.395s) ● ClientPipe › should format person TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) 10 | export class ClientPipe implements PipeTransform { 11 | > 12 | constructor( | ^ 13 | private readonly personPipe: PersonPipe, 14 | private readonly organizationPipe: OrganizationPipe) {}