import { Test, TestingModule } from '@nestjs/testing'; import { GiteaWebhooksController } from './gitea-webhooks.controller'; import { WebhooksService } from './webhooks.service'; describe('GiteaWebhooksController', () => { let controller: GiteaWebhooksController; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ controllers: [GiteaWebhooksController], providers: [ { provide: WebhooksService, useValue: {}, }, ], }).compile(); controller = module.get(GiteaWebhooksController); }); it('should be defined', () => { expect(controller).toBeDefined(); }); });