import { newSpecPage } from '@stencil/core/testing';
import { QuantityToggle } from '../quantity-toggle';

describe('quantity-toggle', () => {
  it('renders', async () => {
    const page = await newSpecPage({
      components: [QuantityToggle],
      html: `<quantity-toggle></quantity-toggle>`,
    });
    expect(page.root).toEqualHtml(`
      <quantity-toggle>
        <mock:shadow-root>
          <slot></slot>
        </mock:shadow-root>
      </quantity-toggle>
    `);
  });
});
