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