Skip to content

Extract sanitizer module #453

Extract sanitizer module

Extract sanitizer module #453

Triggered via pull request March 16, 2026 18:01
Status Failure
Total duration 39s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
test
Process completed with exit code 1.
tests/utils/type-guards.test.ts > isClassInstance > should return false for undefined: packages/core/tests/utils/type-guards.test.ts#L54
AssertionError: expected undefined to be false // Object.is equality - Expected: false + Received: undefined ❯ tests/utils/type-guards.test.ts:54:84
tests/utils/type-guards.test.ts > isClassInstance > should return false for null: packages/core/tests/utils/type-guards.test.ts#L53
AssertionError: expected null to be false // Object.is equality - Expected: false + Received: null ❯ tests/utils/type-guards.test.ts:53:74
tests/utils/type-guards.test.ts > isPlainObject > should return false for class instance: packages/core/tests/utils/type-guards.test.ts#L17
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ tests/utils/type-guards.test.ts:17:89
lint
Process completed with exit code 1.
lint: packages/core/src/utils/type-guards.ts#L57
Unexpected any. Specify a different type
lint: packages/core/src/utils/type-guards.ts#L48
Unexpected any. Specify a different type
lint: packages/core/src/utils/type-guards.ts#L27
Unexpected any. Specify a different type
lint: packages/core/src/utils/type-guards.ts#L18
Unexpected any. Specify a different type
lint: packages/core/src/utils/type-guards.ts#L18
Unexpected any. Specify a different type
lint: packages/javascript/src/utils/random.ts#L12
Invalid JSDoc tag name "remarks"
lint: packages/javascript/src/utils/random.ts#L11
Missing JSDoc @returns type
lint: packages/core/src/utils/type-guards.ts#L7
Missing JSDoc @returns type
lint: packages/core/src/utils/id.ts#L6
Missing JSDoc @param "random" description
lint: packages/core/src/users/hawk-user-manager.ts#L25
The type 'clear' is undefined
lint: packages/core/src/users/hawk-user-manager.ts#L23
The type 'setUser' is undefined
lint: packages/core/src/users/hawk-user-manager.ts#L18
Invalid JSDoc tag name "remarks"
lint: packages/core/src/modules/sanitizer.ts#L52
The type 'sanitize' is undefined
lint: packages/core/src/modules/sanitizer.ts#L52
The type 'registerHandler' is undefined