@salla.sa/twilight-components
Version:
Salla Web Component
22 lines (21 loc) • 606 B
JavaScript
/*!
* Crafted with ❤ by Salla
*/
import { newSpecPage } from "@stencil/core/testing";
import { SallaOrderSummary } from "../salla-order-summary";
describe('salla-order-summary', () => {
it('renders', async () => {
const page = await newSpecPage({
components: [SallaOrderSummary],
html: `<salla-order-summary></salla-order-summary>`,
});
expect(page.root).toEqualHtml(`
<salla-order-summary>
<mock:shadow-root>
<slot></slot>
</mock:shadow-root>
</salla-order-summary>
`);
});
});
//# sourceMappingURL=salla-order-summary.spec.js.map