How to mock an array in Angular test
component.ts
//variable declaration certificatelist: any[] = []; getCert(certificatename:any){ fo