Skip to content

feat: better error messages & improved validations #28

feat: better error messages & improved validations

feat: better error messages & improved validations #28

Triggered via pull request March 14, 2025 23:33
Status Success
Total duration 51s
Artifacts

internal-testing.yml

on: pull_request
Run all tests
40s
Run all tests
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Run all tests
Cache not found for keys: node-cache-Linux-x64-npm-9be8bbeb52727a637aec6852241b6af4ab05983bc78d85ef94cc415beeaf2d8b
Run all tests: src/core/authentication/http/cookie-authenticator.ts#L34
Unnecessary conditional, value is always falsy
Run all tests: src/core/authentication/http/types.ts#L30
Enum Member name `HTTP_BEARER` must match one of the following formats: PascalCase
Run all tests: src/core/authentication/http/types.ts#L31
Enum Member name `HTTP_BASIC` must match one of the following formats: PascalCase
Run all tests: src/core/authentication/http/types.ts#L32
Enum Member name `API_KEY_COOKIE` must match one of the following formats: PascalCase
Run all tests: src/core/parsers/openapi-parser.ts#L438
Unnecessary conditional, comparison is always true, since `AuthenticatorType.API_KEY_COOKIE === AuthenticatorType.API_KEY_COOKIE` is true
Run all tests: src/core/parsers/openapi-parser.ts#L449
Unnecessary conditional, value is always falsy
Run all tests: src/core/parsers/openapi-parser.ts#L519
Unnecessary conditional, value is always falsy
Run all tests: src/core/policy/entities/resource.ts#L24
Unnecessary conditional, the types have no overlap
Run all tests: src/core/tests/test-utils.ts#L42
Expected a function expression
Run all tests: src/core/tests/test-utils.ts#L42
Use const or class constructors instead of named functions