UNPKG

@salla.sa/twilight-components

Version:
26 lines (25 loc) 775 B
/*! * Crafted with ❤ by Salla */ import { newSpecPage } from "@stencil/core/testing"; import { SallaUserSettings } from "../salla-user-settings"; describe('salla-user-settings', () => { it("should build", () => { expect(new SallaUserSettings()).toBeTruthy(); }); describe('rendering', () => { let page; beforeEach(async () => { page = await newSpecPage({ components: [SallaUserSettings], html: '<salla-user-settings></salla-user-settings>' }); }); it('should be able to render component', async () => { await page.waitForChanges(); let component = page.doc.querySelector('salla-user-settings'); expect(component).toBeDefined(); }); }); }); //# sourceMappingURL=salla-user-settings.spec.js.map