Skip to content
Snippets Groups Projects
Commit a31598ca authored by Albert Bruns's avatar Albert Bruns
Browse files

OZG-7472 fix test

parent 4c872a6f
Branches
Tags
1 merge request!40OZG-7161 Hilfe-Icon: Link zum Impressum
...@@ -28,8 +28,10 @@ describe('DropdownMenuLinkItemComponent', () => { ...@@ -28,8 +28,10 @@ describe('DropdownMenuLinkItemComponent', () => {
describe('link', () => { describe('link', () => {
it('should exist with input', () => { it('should exist with input', () => {
component.url = faker.word.sample(); component.url = faker.word.sample();
const link: LinkComponent = getMockComponent(fixture, LinkComponent);
fixture.detectChanges();
const link: LinkComponent = getMockComponent(fixture, LinkComponent);
expect(link).toBeTruthy(); expect(link).toBeTruthy();
expect(link.url).toBe(component.url); expect(link.url).toBe(component.url);
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment