Skip to content

Commit cbda225

Browse files
committed
Nvm lets not make this test with JSDOM
1 parent 2b5f2de commit cbda225

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

packages/utils/test/browser.test.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,3 @@ describe('getDomElement', () => {
8787
expect(el?.id).toEqual('mydiv');
8888
});
8989
});
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

Comments
 (0)