Make sure we apply all classes to the lucide icons (#1691)

* Make sure all classes are applied for all packages

* Add class test to angular component

* Adjust lucide-static tests

* update snapshot

* Fix types
This commit is contained in:
Eric Fennis
2023-11-24 13:59:12 +01:00
committed by GitHub
parent fbaccc7d9f
commit 75e9724072
26 changed files with 2159 additions and 558 deletions

View File

@@ -43,6 +43,8 @@ describe('Using lucide icon components', () => {
const [icon] = document.getElementsByClassName('lucide');
expect(icon).toHaveClass('my-icon')
expect(icon).toHaveClass('lucide-smile')
expect(icon).toHaveClass('lucide')
});
it('should add a style attribute to the element', () => {