test: Add Tests for /api/credit/lines and /api/credit/lines/:id Endpoints (#29)
#71
Annotations
10 errors and 10 warnings
|
Lint (ESLint):
src/repositories/memory/InMemoryCreditLineRepository.ts#L1
Imports "CreditLine", "CreateCreditLineRequest" and "UpdateCreditLineRequest" are only used as type
|
|
Lint (ESLint):
src/repositories/interfaces/TransactionRepository.ts#L1
All imports in the declaration are only used as types. Use `import type`
|
|
Lint (ESLint):
src/repositories/interfaces/RiskEvaluationRepository.ts#L1
'RiskEvaluationRequest' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint (ESLint):
src/repositories/interfaces/RiskEvaluationRepository.ts#L1
Imports "RiskEvaluation" are only used as type
|
|
Lint (ESLint):
src/repositories/interfaces/CreditLineRepository.ts#L1
All imports in the declaration are only used as types. Use `import type`
|
|
Lint (ESLint):
src/middleware/adminAuth.ts#L1
All imports in the declaration are only used as types. Use `import type`
|
|
Lint (ESLint):
src/db/migrations.test.ts#L1
'beforeEach' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint (ESLint):
src/container/Container.ts#L3
All imports in the declaration are only used as types. Use `import type`
|
|
Lint (ESLint):
src/container/Container.ts#L2
All imports in the declaration are only used as types. Use `import type`
|
|
Lint (ESLint):
src/container/Container.ts#L1
All imports in the declaration are only used as types. Use `import type`
|
|
Lint (ESLint):
src/routes/__tests__/credit.test.ts#L318
Unexpected any. Specify a different type
|
|
Lint (ESLint):
src/routes/__tests__/credit.test.ts#L279
Unexpected any. Specify a different type
|
|
Lint (ESLint):
src/routes/__tests__/credit.test.ts#L269
Unexpected any. Specify a different type
|
|
Lint (ESLint):
src/routes/__tests__/credit.test.ts#L197
Unexpected any. Specify a different type
|
|
Lint (ESLint):
src/routes/__tests__/credit.test.ts#L183
Unexpected any. Specify a different type
|
|
Lint (ESLint):
src/routes/__tests__/credit.test.ts#L124
Unexpected any. Specify a different type
|
|
Lint (ESLint):
src/routes/__tests__/credit.test.ts#L115
Unexpected any. Specify a different type
|
|
Lint (ESLint):
src/routes/__tests__/credit.test.ts#L24
Unexpected any. Specify a different type
|
|
Lint (ESLint):
src/routes/__tests__/credit.test.ts#L23
Unexpected any. Specify a different type
|
|
Lint (ESLint):
src/container/__tests__/Container.test.ts#L12
Unexpected any. Specify a different type
|
Loading