Skip to content

Unit testing

Unit testing #23

Triggered via pull request April 19, 2024 23:28
@zoe-codezzoe-codez
synchronize #10
unit_testing
Status Failure
Total duration 35s
Artifacts

check.yml

on: pull_request
lint-and-build
25s
lint-and-build
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
lint-and-build: src/extensions/conversation.extension.ts#L7
Property 'registry' does not exist on type '{ [ENTITY_UPDATE_RECEIVER]: <ENTITY extends PICK_ENTITY = PICK_ENTITY>(entity_id: PICK_ENTITY, new_state: ENTITY_STATE<ENTITY>, old_state: ENTITY_STATE<...>) => void; ... 5 more ...; refresh: (recursion?: number) => Promise<...>; }'.
lint-and-build: src/extensions/conversation.extension.ts#L19
Property 'registry' does not exist on type '{ [ENTITY_UPDATE_RECEIVER]: <ENTITY extends PICK_ENTITY = PICK_ENTITY>(entity_id: PICK_ENTITY, new_state: ENTITY_STATE<ENTITY>, old_state: ENTITY_STATE<...>) => void; ... 5 more ...; refresh: (recursion?: number) => Promise<...>; }'.
lint-and-build: src/testing/websocket.spec.ts#L29
'testing' is declared but its value is never read.
lint-and-build
Process completed with exit code 2.
lint-and-build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-and-build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint-and-build: src/testing/websocket.spec.ts#L29
'testing' is assigned a value but never used. Allowed unused vars must match /_|logger/u