Skip to content

Fix accessory mocks. Move test setup to a separate file and import in… #30

Fix accessory mocks. Move test setup to a separate file and import in…

Fix accessory mocks. Move test setup to a separate file and import in… #30

Triggered via push August 13, 2024 20:01
Status Failure
Total duration 35s
Artifacts

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
build (18.x): src/__tests__/lights.test.ts#L9
'platform' is assigned a value but never used
build (18.x): src/__tests__/lights.test.ts#L10
'accessory' is assigned a value but never used
build (18.x): src/__tests__/safety.test.ts#L9
'platform' is assigned a value but never used
build (18.x): src/__tests__/safety.test.ts#L10
'accessory' is assigned a value but never used
build (18.x): src/__tests__/sauna.test.ts#L9
'platform' is assigned a value but never used
build (18.x): src/__tests__/sauna.test.ts#L10
'accessory' is assigned a value but never used
build (18.x): src/__tests__/sauna.test.ts#L34
Unexpected any. Specify a different type
build (18.x): src/__tests__/sauna.test.ts#L55
Unexpected any. Specify a different type
build (18.x): src/__tests__/sauna.test.ts#L63
Unexpected any. Specify a different type
build (18.x): src/__tests__/sauna.test.ts#L84
Unexpected any. Specify a different type
build (20.x): src/__tests__/lights.test.ts#L9
'platform' is assigned a value but never used
build (20.x): src/__tests__/lights.test.ts#L10
'accessory' is assigned a value but never used
build (20.x): src/__tests__/safety.test.ts#L9
'platform' is assigned a value but never used
build (20.x): src/__tests__/safety.test.ts#L10
'accessory' is assigned a value but never used
build (20.x): src/__tests__/sauna.test.ts#L9
'platform' is assigned a value but never used
build (20.x): src/__tests__/sauna.test.ts#L10
'accessory' is assigned a value but never used
build (20.x): src/__tests__/sauna.test.ts#L34
Unexpected any. Specify a different type
build (20.x): src/__tests__/sauna.test.ts#L55
Unexpected any. Specify a different type
build (20.x): src/__tests__/sauna.test.ts#L63
Unexpected any. Specify a different type
build (20.x): src/__tests__/sauna.test.ts#L84
Unexpected any. Specify a different type
build (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/