From 598f2dc4d02c05e4797aef39796174c07ce22b69 Mon Sep 17 00:00:00 2001 From: Alberto Baroso Date: Sun, 21 Jan 2024 17:55:53 +0100 Subject: [PATCH] refactor: removed unused imports --- .../recruitment-session.controller.spec.ts | 8 +------- .../recruitment-session/recruitment-session.controller.ts | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/api/src/recruitment-session/recruitment-session.controller.spec.ts b/api/src/recruitment-session/recruitment-session.controller.spec.ts index 9e64d2d..719202d 100644 --- a/api/src/recruitment-session/recruitment-session.controller.spec.ts +++ b/api/src/recruitment-session/recruitment-session.controller.spec.ts @@ -1,7 +1,7 @@ import { createMockAbility } from '@hkrecruitment/shared/abilities.spec'; import { RecruitmentSessionController } from './recruitment-session.controller'; import { RecruitmentSessionService } from './recruitment-session.service'; -import { Action, RecruitmentSessionState, Role } from '@hkrecruitment/shared'; +import { Action, RecruitmentSessionState } from '@hkrecruitment/shared'; import { TestBed } from '@automock/jest'; import { RecruitmentSessionResponseDto } from './recruitment-session-response.dto'; import { RecruitmentSession } from './recruitment-session.entity'; @@ -12,16 +12,10 @@ import { testDate, } from '@mocks/data'; import { - BadRequestException, ConflictException, - Delete, ForbiddenException, NotFoundException, - UnprocessableEntityException, } from '@nestjs/common'; -import { createMock } from '@golevelup/ts-jest'; -import { AuthenticatedRequest } from 'src/authorization/authenticated-request.types'; -import { CreateRecruitmentSessionDto } from './create-recruitment-session.dto'; import { UpdateRecruitmentSessionDto } from './update-recruitment-session.dto'; describe('RecruitmentSessionController', () => { diff --git a/api/src/recruitment-session/recruitment-session.controller.ts b/api/src/recruitment-session/recruitment-session.controller.ts index d68eddd..9e65523 100644 --- a/api/src/recruitment-session/recruitment-session.controller.ts +++ b/api/src/recruitment-session/recruitment-session.controller.ts @@ -1,7 +1,6 @@ import { Body, Controller, - BadRequestException, NotFoundException, ConflictException, Param,