import { newSpecPage } from "@stencil/core/testing";
import { EclPageBanner } from "../ecl-page-banner";
import { EclLink } from "../../ecl-link/ecl-link";
import { EclIcon } from "../../ecl-icon/ecl-icon";
describe('ecl-page-banner', () => {
    it('renders', async () => {
        const page = await newSpecPage({
            components: [EclPageBanner, EclLink, EclIcon],
            html: `<ecl-page-banner
              variant="primary"
              theme="ec"
              cta-link="/example.html"
              cta-label="Subscribe"
              image="https://inno-ecl.s3.amazonaws.com/media/examples/example-image.jpg"
              banner-title="EU Budget for the future"
              credit="© Copyright or credit"
            >
              Innovation, economy, environment and geopolitics
            </ecl-page-banner>`,
        });
        expect(page.root).toMatchSnapshot();
    });
});
//# sourceMappingURL=ecl-page-banner.spec.js.map
