added tests for repositories #158
on_push_or_pr.yml
on: push
nest_test_and_sonarcloud
/
Nest Test
3m 12s
codeql_analyze
/
Analyze CodeQL
1m 51s
nest_lint
/
Nest Lint
57s
nest_test_and_sonarcloud
/
SonarCloud
0s
Annotations
11 errors and 10 warnings
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L5
Missing file extension "ts" for "../../../../test/utils"
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L6
Missing file extension "ts" for "./rolle.service"
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L7
Missing file extension "ts" for "../repo/person-rollen-zuweisung.repo"
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L8
Missing file extension "ts" for "../repo/rollen-berechtigungs-zuweisung.repo"
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L9
Missing file extension "ts" for "../repo/rolle-recht.repo"
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L10
Missing file extension "ts" for "../repo/service-provider.repo"
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L11
Missing file extension "ts" for "./person-rollen-zuweisung.do"
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L12
Missing file extension "ts" for "./rolle.do"
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.ts#L22
Returning an awaited promise is not allowed in this context
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.ts#L26
Returning an awaited promise is not allowed in this context
|
nest_test_and_sonarcloud / Nest Test
Process completed with exit code 1.
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L1
Replace `Test,·TestingModule}·from·"@nestjs/testing"` with `·Test,·TestingModule·}·from·'@nestjs/testing'`
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L2
Replace `createMock,·DeepMocked}·from·"@golevelup/ts-jest"` with `·createMock,·DeepMocked·}·from·'@golevelup/ts-jest'`
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L3
Replace `Dictionary,·Mapper}·from·"@automapper/core"` with `·Dictionary,·Mapper·}·from·'@automapper/core'`
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L4
Replace `getMapperToken}·from·"@automapper/nestjs"` with `·getMapperToken·}·from·'@automapper/nestjs'`
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L5
Replace `DoFactory}·from·"../../../../test/utils"` with `·DoFactory·}·from·'../../../../test/utils'`
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L6
Replace `RolleService}·from·"./rolle.service"` with `·RolleService·}·from·'./rolle.service'`
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L7
Replace `PersonRollenZuweisungRepo}·from·"../repo/person-rollen-zuweisung.repo"` with `·PersonRollenZuweisungRepo·}·from·'../repo/person-rollen-zuweisung.repo'`
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L8
Replace `RollenBerechtigungsZuweisungRepo}·from·"../repo/rollen-berechtigungs-zuweisung.repo"` with `·RollenBerechtigungsZuweisungRepo·}·from·'../repo/rollen-berechtigungs-zuweisung.repo'`
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L9
Replace `RolleRechtRepo}·from·"../repo/rolle-recht.repo"` with `·RolleRechtRepo·}·from·'../repo/rolle-recht.repo'`
|
nest_lint / Nest Lint:
src/modules/rolle/domain/rolle.service.spec.ts#L10
Replace `ServiceProviderRepo}·from·"../repo/service-provider.repo"` with `·ServiceProviderRepo·}·from·'../repo/service-provider.repo'`
|