feat: Add richer card theme support (#1809)
This commit is contained in:
1 parent
f7ecb91578
commit
278560b5ac
65 files changed
+1187
-352
No files matched your search
@@ -22,6 +22,10 @@ describe('IconController', () => {
|
||||
);
|
||||
});
|
||||
|
||||
it('should return iris SVG for iris icon', () => {
|
||||
expect(new IconController().getCustomIcon({ icon: 'iris' })).toMatch(/iris.svg$/);
|
||||
});
|
||||
|
||||
it('should return null for mdi icon', () => {
|
||||
expect(new IconController().getCustomIcon({ icon: 'mdi:car' })).toBeNull();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user