"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("@testing-library/react");
require("@testing-library/jest-dom");
const BFUIProvider_1 = require("../BFUIProvider");
const react_2 = require("@chakra-ui/react");
describe('BFUI Chakra Theme Health Check', () => {
    test('renders Box with themed background and Text with themed color', () => {
        (0, react_1.render)((0, jsx_runtime_1.jsx)(BFUIProvider_1.BFUIProvider, { children: (0, jsx_runtime_1.jsx)(react_2.Box, { bg: "surface-bg", p: "4", borderRadius: "md", "data-testid": "themed-box", children: (0, jsx_runtime_1.jsx)(react_2.Text, { color: "text-primary", fontSize: "lg", "data-testid": "themed-text", children: "Chakra Themed Text" }) }) }));
        const { getByTestId } = (0, react_1.render)((0, jsx_runtime_1.jsx)(BFUIProvider_1.BFUIProvider, { children: (0, jsx_runtime_1.jsx)(react_2.Box, { bg: "surface-bg", p: "4", borderRadius: "md", "data-testid": "themed-box", children: (0, jsx_runtime_1.jsx)(react_2.Text, { color: "text-primary", fontSize: "lg", "data-testid": "themed-text", children: "Chakra Themed Text" }) }) }));
        const box = getByTestId('themed-box');
        const text = getByTestId('themed-text');
        // Check that elements are in the document
        expect(box).toBeTruthy();
        expect(text).toBeTruthy();
        // Optionally, check computed styles if environment supports it
        // This requires jsdom or browser environment with style support
        // expect(box).toHaveStyle('background-color: white'); // light mode default
        // expect(text).toHaveStyle('color: rgb(26, 32, 44)'); // text-primary default
    });
});
//# sourceMappingURL=bfui-theme-health.test.js.map