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