UNPKG

@salla.sa/twilight-components

Version:
28 lines (27 loc) 827 B
/*! * Crafted with ❤ by Salla */ import { newSpecPage } from "@stencil/core/testing"; import { SallaMap } from "../salla-map"; describe('salla-map', () => { it("should build", () => { expect(new SallaMap()).toBeTruthy(); }); describe('rendering', () => { let page; beforeEach(async () => { page = await newSpecPage({ components: [SallaMap], html: '<salla-map searchable lat="21.29599945294132" lng="40.177779145507806"></salla-map>' }); }); it.skip('should be able to render component', async () => { // await page.waitForChanges(); let component = await page.doc.querySelector('salla-map'); await component.open(); await page.waitForChanges(); expect(component).toBeDefined(); }); }); }); //# sourceMappingURL=salla-map.spec.js.map