import selectorToHTML from '../selectorToHTML'; describe('"selectorToHTML"', () => { it('Correctly converts non-void tag selector', () => { const html = selectorToHTML('span[disabled][data-index=99].my-item#unique'); expect(html).toBe(''); }); it('Correctly converts void tag selector', () => { const html = selectorToHTML('input[disabled][data-index=99].my-item#unique'); expect(html).toBe(''); }); });