import { FEATURE_FLAGS } from '../featureFlags';

describe('featureFlags', () => {
  describe('FEATURE_FLAGS', () => {
    it('should be defined', () => {
      expect(FEATURE_FLAGS).toBeDefined();
    });

    it('should have SHOW_COMPONENT_PANEL flag', () => {
      expect(FEATURE_FLAGS).toHaveProperty('SHOW_COMPONENT_PANEL');
    });

    it('should have SHOW_COMPONENT_PANEL set to false by default', () => {
      expect(FEATURE_FLAGS.SHOW_COMPONENT_PANEL).toBe(false);
    });

    it('should be a readonly object', () => {
      // TypeScript const assertion should make this readonly
      // This test verifies the structure exists
      expect(typeof FEATURE_FLAGS.SHOW_COMPONENT_PANEL).toBe('boolean');
    });
  });
});
