"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const react_2 = require("@testing-library/react");
const Icon_1 = require("../Icon");
describe("Icon component", () => {
    it('provides "img" role', async () => {
        (0, react_2.render)(react_1.default.createElement(Icon_1.Icon, { label: "test icon" }));
        expect(await react_2.screen.getByRole("img")).toBeVisible();
    });
});
