Always use default item icon

This commit is contained in:
Bill Thornton
2024-09-21 02:14:07 -04:00
parent 2abc648dcf
commit 46c6fd4b85
2 changed files with 0 additions and 7 deletions
-5
View File
@@ -68,11 +68,6 @@ describe('getItemTypeIcon()', () => {
});
});
it('Should return undefined for undefined type', () => {
expect(getItemTypeIcon(undefined, 'default'))
.toBeUndefined();
});
it('Should return the default icon for unknown type if provided', () => {
expect(getItemTypeIcon('foobar', 'default'))
.toBe('default');