fix: Improve device icon serving #13117
Annotations
2 errors and 1 warning
Test:
test/settingsMigration.test.ts#L886
AssertionError: expected { version: 4, …(2) } to strictly equal { version: 4, …(2) }
- Expected
+ Received
Object {
"devices": Object {
"0x123127fffe8d96bc": Object {
"friendly_name": "0x847127fffe8d96bc",
"icon": "device_icons/08a9016bbc0657cf5f581ae9c19c31a5.png",
},
"0x223127fffe8d96bc": Object {
"friendly_name": "0x223127fffe8d96bc",
- "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJ",
+ "icon": "device_icons/effcad234beeb56ea7c457cf2d36d10b.png",
},
"0x323127fffe8d96bc": Object {
"friendly_name": "0x323127fffe8d96bc",
- "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJ",
+ "icon": "device_icons/effcad234beeb56ea7c457cf2d36d10b.png",
},
},
"mqtt": Object {
"server": "mqtt://localhost",
},
"version": 4,
}
❯ test/settingsMigration.test.ts:886:38
|
Test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading