import '../../../../../dist/zn.min.js'; import {expect, fixture, html} from '@open-wc/testing'; import type ZnFlowSteps from './flow-steps.component'; describe('', () => { it('should render a search box and slot its content', async () => { const el = await fixture(html` Apple Banana `); await el.updateComplete; expect(el.shadowRoot?.querySelector('.search')).to.exist; expect(el.querySelectorAll('zn-flow-step')).to.have.length(2); }); });