UNPKG

@salla.sa/twilight-components

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