mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 22:47:42 +01:00
test(shared): fix hasA11yProp unit test
This commit is contained in:
@@ -16,8 +16,8 @@ describe('hasA11yProp', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('returns false if props do not contain any a11y attributes', () => {
|
it('returns false if props do not contain any a11y attributes', () => {
|
||||||
expect(hasA11yProp({ className: 'foo', id: 'bar' })).toBe(undefined);
|
expect(hasA11yProp({ className: 'foo', id: 'bar' })).toBe(false);
|
||||||
expect(hasA11yProp({})).toBe(undefined);
|
expect(hasA11yProp({})).toBe(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('returns true if multiple a11y props are present', () => {
|
it('returns true if multiple a11y props are present', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user