@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 { SallaComments } from "../salla-comments";
describe('salla-comments', () => {
it('renders', async () => {
const page = await newSpecPage({
components: [SallaComments],
html: `<salla-comments></salla-comments>`,
});
expect(page.root).toEqualHtml(`
<salla-comments>
<mock:shadow-root>
<slot></slot>
</mock:shadow-root>
</salla-comments>
`);
});
});
//# sourceMappingURL=salla-comments.spec.js.map