You don't need to spyOn the component method. External methods like service methods are spied on to avoid calling them when testing component's method.
So here you can directly call the method and test the conditions like below:
support.component.spec.ts
component.clearText();
expect(component.searchId).toEqual('');
expect(component.orechestion).toEqual('');
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…