is it possible to use Jasmine unit testing framework\'s spyon method upon a classes private methods?
The documentation gives this example but can this be flexivble for a
const spy = spyOn(component, 'privateMethod'); expect(spy).toHaveBeenCalled();
To avoid lint warnings regarding object access via string literals, create a local constant of the spy object.