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