From ccec0a00c9a9cccb7d4feaf3135ba8cb19b1ede7 Mon Sep 17 00:00:00 2001 From: Martin Stamm Date: Tue, 31 Oct 2023 15:13:33 +0100 Subject: [PATCH] test(popup-menu): add type tests for image parameters --- lib/features/popup-menu/PopupMenuProvider.spec.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/features/popup-menu/PopupMenuProvider.spec.ts b/lib/features/popup-menu/PopupMenuProvider.spec.ts index 4d7e034cd..ddaca7a41 100644 --- a/lib/features/popup-menu/PopupMenuProvider.spec.ts +++ b/lib/features/popup-menu/PopupMenuProvider.spec.ts @@ -45,6 +45,8 @@ export class BarPopupMenuProvider implements PopupMenuProvider { } }, className: 'foo', + imageUrl: 'https://example.com/', + imageHtml: '', label: 'Foo' } }; @@ -67,7 +69,10 @@ export class BarPopupMenuProvider implements PopupMenuProvider { active: false, className: 'bar', id: 'bar', - title: 'Bar' + imageUrl: 'https://example.com/', + imageHtml: '', + label: 'Bar', + title: 'Bar', } ]; }