/* eslint-disable @typescript-eslint/ban-ts-comment */ import { html, fixture, expect } from "@open-wc/testing"; // import flow-core elements import "../../../"; import { FLineage } from "../../../"; describe("f-lineage", () => { it("is defined", () => { const el = document.createElement("f-lineage"); expect(el).instanceOf(FLineage); }); it("should match snpashot", async () => { const el = await fixture(html` `); await el.updateComplete; await new Promise(resolve => setTimeout(resolve, 5000)); if (el.shadowRoot) { const svg = el.shadowRoot.querySelector("svg"); expect(svg).lightDom.to.equalSnapshot(); } //@ts-ignore }).timeout(15000); });