import '../../../dist/zn.min.js'; import { expect, fixture, html } from '@open-wc/testing'; describe('', () => { it('should render a component', async () => { const el = await fixture(html` `); expect(el).to.exist; }); it('should render as a block-level container', async () => { const el = await fixture(html` `); expect(getComputedStyle(el).display).to.equal('block'); }); it('should apply height as the height and maximum height', async () => { const el = await fixture(html` `); expect(getComputedStyle(el).height).to.equal('240px'); expect(getComputedStyle(el).maxHeight).to.equal('240px'); }); });