import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import "react";
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_test_client__ from "@tachybase/test/client";
import * as __WEBPACK_EXTERNAL_MODULE__FlagProvider_mjs__ from "../FlagProvider.mjs";
import * as __WEBPACK_EXTERNAL_MODULE__hooks_useFlag_mjs__ from "../hooks/useFlag.mjs";
describe('FlagProvider', ()=>{
    it('should render', ()=>{
        const { result } = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.renderHook)(()=>(0, __WEBPACK_EXTERNAL_MODULE__hooks_useFlag_mjs__.useFlag)(), {
            wrapper: (param)=>{
                let { children } = param;
                return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__FlagProvider_mjs__.FlagProvider, {
                    isInAssignFieldValues: true,
                    children: children
                });
            }
        });
        expect(result.current.isInAssignFieldValues).toBe(true);
    });
});
