diff --git a/frontend/src/lib/updates.test.ts b/frontend/src/lib/updates.test.ts index b587600..a9dbe55 100644 --- a/frontend/src/lib/updates.test.ts +++ b/frontend/src/lib/updates.test.ts @@ -74,11 +74,24 @@ describe('update payload normalization', () => { signed: false, requiresRestart: true, }); + expect(status.components.core).toMatchObject({ + component: 'core', + currentVersion: '4.0.0', + state: 'healthy', + }); + expect(status.components.plugins).toMatchObject({ + component: 'plugins', + state: 'current', + }); expect(status.plugins[0]).toMatchObject({ id: 'weather', managed: true, currentVersion: '2.0.0', }); + expect(status.plugins[0].candidate).toMatchObject({ + version: '2.1.0', + signed: true, + }); expect(status.history).toHaveLength(1); });