import { newSpecPage } from "@stencil/core/testing";
import { KlevuImagePicker } from "../klevu-image-picker";
describe("klevu-image-picker", () => {
  it("render swith upload image button", async () => {
    var _a;
    const page = await newSpecPage({
      components: [KlevuImagePicker],
      html: `<klevu-image-picker ></klevu-image-picker>`,
    });
    if ((_a = page.root) === null || _a === void 0 ? void 0 : _a.shadowRoot) {
      const divEl = page.root.shadowRoot.querySelectorAll("label");
      expect(divEl[0].innerHTML).toContain("Upload a photo<");
    }
  });
});
//# sourceMappingURL=klevu-image-picker.spec.js.map
