"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 Tooltip_1 = require("../Tooltip");
describe("Tooltip component", () => {
    it("renders children", async () => {
        (0, react_2.render)(react_1.default.createElement(Tooltip_1.Tooltip, { tooltip: "tooltiptest", flow: "up" }, "hover"));
        expect(await react_2.screen.getByText(/hover/)).toBeInTheDocument();
    });
});
