Skip to content

DT-208 Adds unit test suite to policies #138

DT-208 Adds unit test suite to policies

DT-208 Adds unit test suite to policies #138

Triggered via pull request March 19, 2024 14:46
Status Failure
Total duration 4m 28s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 10 warnings
Lint Codebase: __tests__/copyleft-policy-check.test.ts#L24
Unexpected `await` of a non-Promise (non-"Thenable") value
Lint Codebase: __tests__/copyleft-policy-check.test.ts#L30
Unexpected `await` of a non-Promise (non-"Thenable") value
Lint Codebase: __tests__/undeclared-policy-check.test.ts#L27
Functions that return promises must be async
Lint Codebase: __tests__/undeclared-policy-check.test.ts#L30
Unexpected `await` of a non-Promise (non-"Thenable") value
Lint Codebase: __tests__/undeclared-policy-check.test.ts#L34
Functions that return promises must be async
Lint Codebase: __tests__/undeclared-policy-check.test.ts#L37
Unexpected `await` of a non-Promise (non-"Thenable") value
Lint Codebase: src/policies/policy-check.ts#L97
Public accessibility modifier on method definition finish
Lint Codebase: .github/linters/tsconfig.json#L1
File ignored by default.
Lint Codebase: .prettierrc.json#L1
File ignored by default.
Lint Codebase: __tests__/main.test.ts#L19
'setFailedMock' is assigned a value but never used
Lint Codebase: __tests__/main.test.ts#L20
'setOutputMock' is assigned a value but never used
Lint Codebase: __tests__/undeclared-policy-check.test.ts#L27
'_' is defined but never used
Lint Codebase: __tests__/undeclared-policy-check.test.ts#L34
'_' is defined but never used
Lint Codebase: src/policies/policy-check.ts#L8
'CONCLUSION' is already declared in the upper scope on line 8 column 13
Lint Codebase: src/policies/policy-check.ts#L19
'STATUS' is already declared in the upper scope on line 19 column 13
Lint Codebase: src/policies/policy-check.ts#L33
Unexpected any. Specify a different type
Lint Codebase: src/policies/policy-check.ts#L47
Unexpected any. Specify a different type