Fixing issue #182 #24
Annotations
10 errors
|
src/devices/doorbell.test.ts > doorbellDevice > should handle doorbell detail parsing:
src/devices/doorbell.test.ts#L254
AssertionError: expected undefined to deeply equal { deviceId: 'doorbell123', …(11) }
- Expected:
{
"batteryLevel": 75,
"created": "2024-01-01T00:00:00Z",
"deviceId": "doorbell123",
"deviceName": "Front Door Bell",
"firmwareVersion": "1.2.3",
"hasCapability": {
"image": true,
"motion": true,
"nightVision": true,
"twoWayTalk": false,
},
"houseId": "house123",
"houseName": "Home",
"isOnline": true,
"macAddress": "00:11:22:33:44:55",
"status": {
"lastActivity": "2025-09-18T01:20:15.529Z",
"lastDing": "2025-09-18T01:20:10.529Z",
"lastMotion": "2025-09-18T01:20:05.529Z",
},
"updated": "2024-01-01T12:00:00Z",
}
+ Received:
undefined
❯ src/devices/doorbell.test.ts:254:44
|
|
src/devices/doorbell.test.ts > doorbellDevice > should hide services when configured:
src/devices/doorbell.ts#L176
TypeError: this.Battery.Service.setCharacteristic(...).setCharacteristic(...).getCharacteristic(...).onGet is not a function
❯ new DoorbellDevice src/devices/doorbell.ts:176:8
❯ src/devices/doorbell.test.ts:223:22
|
|
src/platform.test.ts > AugustPlatform > discoverDevices > should re-throw non-authentication errors:
src/platform.test.ts#L400
AssertionError: promise resolved "undefined" instead of rejecting
- Expected:
Error {
"message": "rejected promise",
}
+ Received:
undefined
❯ src/platform.test.ts:400:46
|
|
src/platform.test.ts > AugustPlatform > discoverDevices > should handle "unauthorized" errors and trigger re-authentication:
src/platform.test.ts#L386
AssertionError: expected "validated" to be called at least once
❯ src/platform.test.ts:386:27
|
|
src/platform.test.ts > AugustPlatform > discoverDevices > should handle 401 authentication errors and trigger re-authentication:
src/platform.test.ts#L363
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ src/platform.test.ts:363:56
|
|
src/devices/doorbell.test.ts > DoorbellDevice > should handle doorbell detail parsing:
src/devices/doorbell.test.ts#L252
AssertionError: expected undefined to deeply equal { deviceId: 'doorbell123', …(11) }
- Expected:
{
"batteryLevel": 75,
"created": "2024-01-01T00:00:00Z",
"deviceId": "doorbell123",
"deviceName": "Front Door Bell",
"firmwareVersion": "1.2.3",
"hasCapability": {
"image": true,
"motion": true,
"nightVision": true,
"twoWayTalk": false,
},
"houseId": "house123",
"houseName": "Home",
"isOnline": true,
"macAddress": "00:11:22:33:44:55",
"status": {
"lastDing": "2025-09-18T01:16:08.654Z",
"lastMotion": "2025-09-18T01:16:03.654Z",
},
"updated": "2024-01-01T12:00:00Z",
}
+ Received:
undefined
❯ src/devices/doorbell.test.ts:252:44
|
|
src/devices/doorbell.test.ts > DoorbellDevice > should hide services when configured:
src/devices/doorbell.ts#L176
TypeError: this.Battery.Service.setCharacteristic(...).setCharacteristic(...).getCharacteristic(...).onGet is not a function
❯ new DoorbellDevice src/devices/doorbell.ts:176:8
❯ src/devices/doorbell.test.ts:222:22
|
|
src/platform.test.ts > AugustPlatform > discoverDevices > should re-throw non-authentication errors:
src/platform.test.ts#L400
AssertionError: promise resolved "undefined" instead of rejecting
- Expected:
Error {
"message": "rejected promise",
}
+ Received:
undefined
❯ src/platform.test.ts:400:46
|
|
src/platform.test.ts > AugustPlatform > discoverDevices > should handle "unauthorized" errors and trigger re-authentication:
src/platform.test.ts#L386
AssertionError: expected "validated" to be called at least once
❯ src/platform.test.ts:386:27
|
|
src/platform.test.ts > AugustPlatform > discoverDevices > should handle 401 authentication errors and trigger re-authentication:
src/platform.test.ts#L363
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ src/platform.test.ts:363:56
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
results
|
298 Bytes |
sha256:fb282c69ec5dc348f78335e3bc4536a22abefda1036b5a3ad559357e412d1de0
|
|