diff --git a/.github/workflows/fullstack.yml b/.github/workflows/fullstack.yml index 10319ec..b74c029 100644 --- a/.github/workflows/fullstack.yml +++ b/.github/workflows/fullstack.yml @@ -68,4 +68,4 @@ jobs: uses: SonarSource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/api/src/availability/availability.entity.ts b/api/src/availability/availability.entity.ts index a9aa34f..a0e383f 100644 --- a/api/src/availability/availability.entity.ts +++ b/api/src/availability/availability.entity.ts @@ -29,6 +29,6 @@ export class Availability implements AvailabilityInterface { @ManyToOne(() => User, (user) => user.availabilities) user: Relation; - // @OneToOne(() => Interview, (interview) => interview.availability) + // @OneToOne(() => Interview) // interview: Interview; } diff --git a/api/src/recruitment-session/recruitment-session.service.spec.ts b/api/src/recruitment-session/recruitment-session.service.spec.ts index 888ba10..e777153 100644 --- a/api/src/recruitment-session/recruitment-session.service.spec.ts +++ b/api/src/recruitment-session/recruitment-session.service.spec.ts @@ -5,7 +5,7 @@ import { getRepositoryToken, getDataSourceToken } from '@nestjs/typeorm'; import { RecruitmentSession } from './recruitment-session.entity'; import { RecruitmentSessionService } from './recruitment-session.service'; import { mockedTimeSlotsService as mockedTimeSlotsServiceClass } from '@mocks/services'; -import { MockedDataSource, mockDataSource } from 'src/mocks/data-sources'; +import { mockDataSource } from 'src/mocks/data-sources'; import { TimeSlotsService } from 'src/timeslots/timeslots.service'; import { RecruitmentSessionState } from '@hkrecruitment/shared'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1fbd3a7..16ca3ae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1324,7 +1324,6 @@ packages: '@types/node': 16.18.97 '@types/yargs': 17.0.32 chalk: 4.1.2 - dev: true /@joi/date@2.1.1: resolution: {integrity: sha512-oXF8vU8M+O9a6tuItgtTQeboO3+Ed6xunLatt6gq7WEFJ7HjawPH64OmrsX0ch3TEsUgQkU8v4MlOGEsf6PHSQ==} @@ -7063,7 +7062,6 @@ packages: typescript: '>=3.7.0' dependencies: typescript: 4.5.2 - dev: true /ts-jest@28.0.8(@babel/core@7.24.5)(jest@28.1.3)(typescript@4.5.2): resolution: {integrity: sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg==} diff --git a/sonar-project.properties b/sonar-project.properties index a288a22..156f835 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -5,4 +5,4 @@ sonar.projectName=HKrecruitment sonar.javascript.lcov.reportPaths=./coverage/shared/lcov.info, ./coverage/api/lcov.info, ./coverage/api-e2e/lcov.info sonar.sources=api/, frontend/, shared/ sonar.coverage.exclusions=**/node_modules/**/*, **/*.spec.*, **/*.e2e-spec.*, **/documentation/**/*, **/frontend/**/*, **/test/**/*, **/tests/**/*, **/*.json, **/*.yaml, **/*.yml, **/*.md, **/mocks/**/* -sonar.cpd.exclusions=**/mocks/**/* \ No newline at end of file +sonar.cpd.exclusions=**/mocks/**/*