import { newSpecPage } from '@stencil/core/testing';
import { OrderSummary } from '../order-summary';

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