Skip to content

Commit

Permalink
test(popup-menu): add type tests for image parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
marstamm committed Oct 31, 2023
1 parent a4e840d commit 6e3addb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/features/popup-menu/PopupMenuProvider.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export class BarPopupMenuProvider implements PopupMenuProvider {
}
},
className: 'foo',
imageUrl: 'https://example.com/',
imageHtml: '<img src="https://example.com/" />',
label: 'Foo'
}
};
Expand All @@ -67,7 +69,10 @@ export class BarPopupMenuProvider implements PopupMenuProvider {
active: false,
className: 'bar',
id: 'bar',
title: 'Bar'
imageUrl: 'https://example.com/',
imageHtml: '<img src="https://example.com/" />',
label: 'Bar',
title: 'Bar',
}
];
}
Expand Down

0 comments on commit 6e3addb

Please sign in to comment.