"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
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 react_2 = require("@chakra-ui/react");
// Mock the services first
jest.mock('../../../services/api', () => ({
    enhancedApiClient: {
        uploadDocument: jest.fn().mockResolvedValue({ id: 'test' }),
    },
}));
jest.mock('../../../services/bfrfp', () => ({
    bfrfpService: {
        getRecentAnalyses: jest.fn().mockResolvedValue([]),
    },
}));
// Import component after mocking
const RFPDashboard_1 = __importDefault(require("../RFPDashboard"));
const TestWrapper = ({ children }) => ((0, jsx_runtime_1.jsx)(react_2.ChakraProvider, { children: children }));
describe('RFPDashboard Simple Test', () => {
    test('should render without crashing', () => {
        (0, react_1.render)((0, jsx_runtime_1.jsx)(TestWrapper, { children: (0, jsx_runtime_1.jsx)(RFPDashboard_1.default, {}) }));
        expect(react_1.screen.getByRole('heading', { name: /rfp dashboard/i })).toBeInTheDocument();
    });
});
//# sourceMappingURL=RFPDashboard.simple.test.js.map