We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b5f2de commit cbda225Copy full SHA for cbda225
packages/utils/test/browser.test.ts
@@ -87,14 +87,3 @@ describe('getDomElement', () => {
87
expect(el?.id).toEqual('mydiv');
88
});
89
90
-
91
-describe('getElementIdentifier', () => {
92
- it('returns the component name if it exists', () => {
93
- const el = document.createElement('div');
94
- el.innerHTML = '<div id="very-cool-component">😎</div>';
95
- el.setAttribute('data-component', 'VeryCoolComponent');
96
- expect(el).toBeDefined();
97
98
- expect(getElementIdentifier(el)).toBe('VeryCoolComponent');
99
- });
100
-});
0 commit comments