UNPKG

kmap-term-tree

Version:

Renders a tree from a mathematical term

14 lines 606 B
import { html, fixture, expect } from '@open-wc/testing'; import '../src/kmap-term-tree.js'; describe('KmapTermTree', () => { it('has a default title "Hey there" and counter 5', async () => { const el = await fixture(html `<kmap-term-tree></kmap-term-tree>`); expect(el.title).to.equal('Hey there'); //expect(el.counter).to.equal(5); }); it('passes the a11y audit', async () => { const el = await fixture(html `<kmap-term-tree></kmap-term-tree>`); await expect(el).shadowDom.to.be.accessible(); }); }); //# sourceMappingURL=kmap-term-tree.test.js.map