Skip to content
Snippets Groups Projects
Verified Commit a57b75b8 authored by Sebastian Bergandy's avatar Sebastian Bergandy :keyboard:
Browse files

OZG-7473 remove function

Based on CR comment.
parent 12bcc54b
No related branches found
No related tags found
Loading
......@@ -39,10 +39,6 @@ export function expectComponentExistsInTemplate<T>(fixture: ComponentFixture<any
expect(getElementFromFixtureByType(fixture, component)).toBeInstanceOf(component);
}
export function expectComponentMissingInTemplate<T>(fixture: ComponentFixture<any>, component: Type<T>): void {
expect(getElementFromFixtureByType(fixture, component)).toBeUndefined();
}
export function tooltipExistsWithText(fixture: ComponentFixture<any>, domElement: string, tooltipText: string) {
const tooltipInstance = getDebugElementFromFixtureByCss(fixture, domElement).injector.get(TooltipDirective);
expect(tooltipInstance.componentRef.instance.text).toBe(tooltipText);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment