I'm getting this strange cannot read subscribe of undefined error which strangely doesn't come up somethings when it is run independently but comes up almost all the times when run without using focused testing
I have no idea as to why I'm getting this error.I tried a number of things told in various sites such as adding a afterEach loop.
Can someone please point out as to why my code is giving an error
accessGroupSpy.getAccessGroup.and.returnValue(throwError(new Error("oops"))?