import { html, fixture, expect } from "@open-wc/testing"; import "@cldcvr/flow-core"; import { FTooltip } from "@cldcvr/flow-core"; describe("f-tooltip", () => { it("is defined", () => { const el = document.createElement("f-tooltip"); expect(el).instanceOf(FTooltip); }); it("should render open tooltip ", async () => { await fixture(html` `); const tooltip = document.querySelector("#flow-tooltip"); expect(tooltip).not.null; }); });