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