hunk.code_window: import { IntegrationInput } from './IntegrationInput';
   import { IS_DOCKER_HOSTED, WEBHOOK_URL } from '../../../config';
   import { useEnvController, useAuthController } from '../../../hooks';
   import { Check, Copy } from '../../../design-system/icons';
   import { CONTEXT_PATH } from '../../../config';
   enum ACTION_TYPE_ENUM {
     HANDLE_SHOW_SWITCH = 'handle_show_switch',
  
hunk.labels: keep keep keep keep add keep keep keep
hunk.after_edit: import { SharableUrl } from './Modal/ConnectIntegrationForm';
  
hunk.file_path: apps/web/src/pages/integrations/components/ConnectIntegrationForm.tsx
hunk.type: add
file: import { UserSession } from '@novu/testing';
  import { expect } from 'chai';
  
  describe('Environment - Regenerate Api Key', async () => {
    let session: UserSession;
  
    before(async () => {
      session = new UserSession();
      await session.initialize();
    });
  
    it('should regenerate an Api Key', async () => {
      const {
        body: { data: oldApiKeys },
      } = await session.testAgent.get('/v1/environments/api-keys').send({});
      const oldApiKey = oldApiKeys[0].key;
  
      const {
        body: { data: newApiKeys },
      } = await session.testAgent.post('/v1/environments/api-keys/regenerate').send({});
      const newApiKey = newApiKeys[0].key;
  
      expect(oldApiKey).to.not.equal(newApiKey);
  
      const {
        body: { data: organizations },
      } = await session.testAgent.get('/v1/organizations').send({});
  
      expect(organizations).not.to.be.empty;
    });
  });
  