import React from "react";
import { FeatureFlagsProvider } from "./FeatureFlagsContext";
export function makeMockedContextValue(mockedFeatures) {
    return {
        isFeature: () => true,
        getFeature: (featureId) => mockedFeatures[featureId] || null,
        overrideFeature: () => { },
        resetFeature: () => { },
        resetFeatures: () => { },
    };
}
export function makeMockedFeatureFlagsProviderWrapper(mockedContextValue) {
    const MockedFeatureProviderWrapper = ({ children, }) => React.createElement(FeatureFlagsProvider, { value: mockedContextValue }, children);
    return MockedFeatureProviderWrapper;
}
export const basicMockedFeatureFlagsProviderWrapper = makeMockedFeatureFlagsProviderWrapper(makeMockedContextValue({}));
//# sourceMappingURL=mock.js.map